Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167210
b: refs/heads/master
c: aa07a99
h: refs/heads/master
v: v3
  • Loading branch information
Bart Van Assche authored and Roland Dreier committed Oct 7, 2009
1 parent 8c8a17a commit 9c2b1b7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e5da4ed8a486113a4b0e587a0c7843e4a9c08aac
refs/heads/master: aa07a99412f56ad56faecbaa683f3bc0ae99abc2
4 changes: 2 additions & 2 deletions trunk/Documentation/infiniband/user_mad.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ Setting IsSM Capability Bit
To create the appropriate character device files automatically with
udev, a rule like

KERNEL="umad*", NAME="infiniband/%k"
KERNEL="issm*", NAME="infiniband/%k"
KERNEL=="umad*", NAME="infiniband/%k"
KERNEL=="issm*", NAME="infiniband/%k"

can be used. This will create device nodes named

Expand Down
2 changes: 1 addition & 1 deletion trunk/Documentation/infiniband/user_verbs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Memory pinning
To create the appropriate character device files automatically with
udev, a rule like

KERNEL="uverbs*", NAME="infiniband/%k"
KERNEL=="uverbs*", NAME="infiniband/%k"

can be used. This will create device nodes named

Expand Down
11 changes: 4 additions & 7 deletions trunk/drivers/infiniband/hw/cxgb3/iwch_provider.c
Original file line number Diff line number Diff line change
Expand Up @@ -1199,14 +1199,11 @@ static int iwch_query_port(struct ib_device *ibdev,
props->state = IB_PORT_DOWN;
else {
inetdev = in_dev_get(netdev);
if (inetdev) {
if (inetdev->ifa_list)
props->state = IB_PORT_ACTIVE;
else
props->state = IB_PORT_INIT;
in_dev_put(inetdev);
} else
if (inetdev->ifa_list)
props->state = IB_PORT_ACTIVE;
else
props->state = IB_PORT_INIT;
in_dev_put(inetdev);
}

props->port_cap_flags =
Expand Down

0 comments on commit 9c2b1b7

Please sign in to comment.