IB/mthca: Don't use privileged UAR for kernel access
commit9fd558f454b666aca218a990d44f9e1ffac6ed4d
authorMichael S. Tsirkin <mst@mellanox.co.il>
Fri, 22 Sep 2006 22:17:18 +0000 (22 15:17 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 22 Sep 2006 22:17:18 +0000 (22 15:17 -0700)
tree43ab69a01d0c9932b90aa930f21c3a6319b55baa
parentb27075735e371f481940a4920b329202334d2259
IB/mthca: Don't use privileged UAR for kernel access

Make kernel use UAR2 instead of UAR1 for hardware access: this adds
sanity checking from the hardware side, without any performance cost.

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