IB/ehca: Change meaning of hca_cap_mr_pgsize
commitabc39d3672d8af4bf6c943faf85fa8877caccf7e
authorJoachim Fenkes <fenkes@de.ibm.com>
Tue, 16 Oct 2007 15:31:14 +0000 (16 17:31 +0200)
committerRoland Dreier <rolandd@cisco.com>
Thu, 18 Oct 2007 04:47:24 +0000 (17 21:47 -0700)
treec90456ddae53b1ce39cd604404d3810e3b499a27
parent8c08d50d4fc52a9367c356ebbeb194c30fbc7ac8
IB/ehca: Change meaning of hca_cap_mr_pgsize

ehca_shca.hca_cap_mr_pgsize now contains all supported page sizes ORed
together. This makes some checks easier to code and understand, plus
we can return this value verbatim in query_hca(), fixing a problem
with SRP (reported by Anton Blanchard -- thanks!).

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_classes.h
drivers/infiniband/hw/ehca/ehca_hca.c
drivers/infiniband/hw/ehca/ehca_main.c
drivers/infiniband/hw/ehca/ehca_mrmw.c