IB/ipath: Shared context code needs to be sure device is usable
authorDave Olson <dave.olson@qlogic.com>
Thu, 17 Apr 2008 04:01:12 +0000 (21:01 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 17 Apr 2008 04:01:12 +0000 (21:01 -0700)
commit5d1ce03dd335abaef50dc615137cac2a22c5cee0
treecd9cdfde7969791c7d1f3a739353a89edaeb24fc
parent6ca2abf4c02fb3e35247a985c2b6f5834e995033
IB/ipath: Shared context code needs to be sure device is usable

The code was checking if units are present, but not that present units
were usable (link up, etc.)

Signed-off-by: Dave Olson <dave.olson@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_file_ops.c