]> err.no Git - linux-2.6/commit
IB/mthca: Relax UAR size check
authorMichael S. Tsirkin <mst@mellanox.co.il>
Mon, 30 Jan 2006 23:20:35 +0000 (15:20 -0800)
committerRoland Dreier <rolandd@cisco.com>
Mon, 30 Jan 2006 23:20:35 +0000 (15:20 -0800)
commitcbd2981a97cb628431a987a8abd1731c74bcc32e
treebaab72dfd2f1c1259c157dc5a11dd2732ae20884
parentf9e61929e5e1dacc2afefbde6abc3e6571ca2887
IB/mthca: Relax UAR size check

There are some cards around that have UAR (user access region) size
different from 8 MB.  Relax our sanity check to make sure that the PCI
BAR is big enough to access the UAR size reported by the device
firmware instead.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_main.c