IB/ehca: Support all ibv_devinfo values in query_device() and query_port()
authorStefan Roscher <ossrosch@linux.vnet.ibm.com>
Thu, 17 Apr 2008 04:09:35 +0000 (21:09 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 17 Apr 2008 04:09:35 +0000 (21:09 -0700)
commitc83b5b1cb2b050c7a9054f330598df99c31abb98
tree4d6790054a25d4e98d4f772a2b93f4d13262ec6c
parent4cd1e5eb3cbe6e0cc934959770b4c60eac6ecf66
IB/ehca: Support all ibv_devinfo values in query_device() and query_port()

Also, introduce a few inline helper functions to make the code more readable.

Signed-off-by: Stefan Roscher <stefan.roscher@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_hca.c