[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>
This commit is contained in:
committed by
Linus Torvalds
parent
08aeb14e5f
commit
68a3c21203
@ -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,
|
||||
|
Reference in New Issue
Block a user