diff options
author | Roland Dreier <rolandd@cisco.com> | 2009-01-09 21:22:29 (GMT) |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-01-09 21:22:29 (GMT) |
commit | 22e7ef9c089305111661b01e425cd0b974231e2e (patch) | |
tree | 5167b9c2741a4820f9632676c897da832d1223ae /net/rose | |
parent | 70cb92539cd1b8e1dec935a68fc154ea0db3a177 (diff) | |
download | linux-fsl-qoriq-22e7ef9c089305111661b01e425cd0b974231e2e.tar.xz |
IB/mlx4: Don't register IB device for adapters with no IB ports
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>
Diffstat (limited to 'net/rose')
0 files changed, 0 insertions, 0 deletions