diff options
author | Roland Dreier <roland@topspin.com> | 2005-04-16 15:26:34 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 15:26:34 -0700 |
commit | 68a3c21203b73696769dfdceb68d2d7f5d3c20a0 (patch) | |
tree | 876aae59e6f49437b0388f9a95a708edc252bac4 /drivers/infiniband/hw/mthca/mthca_reset.c | |
parent | 08aeb14e5f6c28878266b01c87cc5ce31101afa8 (diff) | |
download | blackbird-op-linux-68a3c21203b73696769dfdceb68d2d7f5d3c20a0.tar.gz blackbird-op-linux-68a3c21203b73696769dfdceb68d2d7f5d3c20a0.zip |
[PATCH] IB/mthca: add support for new MT25204 HCA
Decouple table of HCA features from exact HCA device type. Add a current FW
version field so we can warn when someone is using old FW. Add support for
new MT25204 HCA.
Remove the warning about mem-free support, since it should be pretty solid at
this point.
Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_reset.c')
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_reset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_reset.c b/drivers/infiniband/hw/mthca/mthca_reset.c index ce3fff7d02b7..8ea801271a41 100644 --- a/drivers/infiniband/hw/mthca/mthca_reset.c +++ b/drivers/infiniband/hw/mthca/mthca_reset.c @@ -63,7 +63,7 @@ int mthca_reset(struct mthca_dev *mdev) * header as well. */ - if (mdev->hca_type == TAVOR) { + if (!(mdev->mthca_flags & MTHCA_FLAG_PCIE)) { /* Look for the bridge -- its device ID will be 2 more than HCA's device ID. */ while ((bridge = pci_get_device(mdev->pdev->vendor, |