IB/mthca: Use PCI-X/PCI-Express read control interfaces
authorPeter Oruba <peter.oruba@amd.com>
Fri, 10 Aug 2007 20:54:33 +0000 (13:54 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 10 Oct 2007 02:59:07 +0000 (19:59 -0700)
commita855b1a7423ac83c76638f156d79c854b0feb94d
tree548ea2d78e8850dadffd7cc664045ac5adb7b8d5
parent3c10c7c929b30e8813d15960cb97f95a0b2ba615
IB/mthca: Use PCI-X/PCI-Express read control interfaces

These driver changes incorporate the proposed PCI-X / PCI-Express read
byte count interface.  Reading and setting those values doesn't take
place "manually", instead wrapping functions are called to allow
quirks for some PCI bridges.

Signed-off by: Peter Oruba <peter.oruba@amd.com>
Based on work by Stephen Hemminger <shemminger@linux-foundation.org>
Cc: Roland Dreier <rolandd@cisco.com>
Cc: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_main.c