projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
22e7ef9
)
IB/mlx4: Don't register IB device for adapters with no IB ports
author
Roland Dreier
<rolandd@cisco.com>
Fri, 9 Jan 2009 21:22:29 +0000
(13:22 -0800)
committer
Roland Dreier
<rolandd@cisco.com>
Fri, 9 Jan 2009 21:22:29 +0000
(13:22 -0800)
If the mlx4_ib driver finds an adapter that has only ethernet ports, the
current code will register an IB device with 0 ports. Nothing useful or
sensible can be done with such a device, so just skip registering it.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
No differences found