IB/srp: Wrap OUI checking for workarounds in helper functions
authorRoland Dreier <rolandd@cisco.com>
Fri, 3 Aug 2007 17:45:18 +0000 (10:45 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 3 Aug 2007 17:45:18 +0000 (10:45 -0700)
commit5d7cbfd63136e4469a896acfadb33e19ed62f068
tree1e15daafd7b22d1ac37f5469781d00339a9a0830
parent699924b1e1ea3c9307eb582b9cc386e4af88aaae
IB/srp: Wrap OUI checking for workarounds in helper functions

Wrap the checking for Mellanox and Topspin OUIs to decide whether to
use a workaround into helper functions.  This will make it cleaner to
add a new OUI to check (as we need to do now that some targets with a
Cisco OUI still need the Topspin workarounds).

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/srp/ib_srp.c