aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw
diff options
context:
space:
mode:
authorVinit Agnihotri <vinit.abhay.agnihotri@intel.com>2015-01-16 08:55:37 -0500
committerRoland Dreier <roland@purestorage.com>2015-02-16 19:42:41 -0500
commit0e6bbba56c54f6305f24f0ad8991f5b5d03ae2b5 (patch)
treec5eb2021fc1f08a2aca8032ec9c9186fbbf410c2 /drivers/infiniband/hw
parent18c0b82a3e4501511b08d0e8676fb08ac08734a3 (diff)
IB/qib: Add support for the new QMH7360 card
Add support to recognize another board variation named QMH7360. Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Vinit Agnihotri <vinit.abhay.agnihotri@intel.com> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r--drivers/infiniband/hw/qib/qib_iba7322.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/qib/qib_iba7322.c b/drivers/infiniband/hw/qib/qib_iba7322.c
index 23ca2aca1ad6..a07f7f2b72a1 100644
--- a/drivers/infiniband/hw/qib/qib_iba7322.c
+++ b/drivers/infiniband/hw/qib/qib_iba7322.c
@@ -158,6 +158,7 @@ MODULE_PARM_DESC(txselect, \
158 158
159#define BOARD_QME7342 5 159#define BOARD_QME7342 5
160#define BOARD_QMH7342 6 160#define BOARD_QMH7342 6
161#define BOARD_QMH7360 9
161#define IS_QMH(dd) (SYM_FIELD((dd)->revision, Revision, BoardID) == \ 162#define IS_QMH(dd) (SYM_FIELD((dd)->revision, Revision, BoardID) == \
162 BOARD_QMH7342) 163 BOARD_QMH7342)
163#define IS_QME(dd) (SYM_FIELD((dd)->revision, Revision, BoardID) == \ 164#define IS_QME(dd) (SYM_FIELD((dd)->revision, Revision, BoardID) == \
@@ -3617,6 +3618,10 @@ static unsigned qib_7322_boardname(struct qib_devdata *dd)
3617 n = "InfiniPath_QME7362"; 3618 n = "InfiniPath_QME7362";
3618 dd->flags |= QIB_HAS_QSFP; 3619 dd->flags |= QIB_HAS_QSFP;
3619 break; 3620 break;
3621 case BOARD_QMH7360:
3622 n = "Intel IB QDR 1P FLR-QSFP Adptr";
3623 dd->flags |= QIB_HAS_QSFP;
3624 break;
3620 case 15: 3625 case 15:
3621 n = "InfiniPath_QLE7342_TEST"; 3626 n = "InfiniPath_QLE7342_TEST";
3622 dd->flags |= QIB_HAS_QSFP; 3627 dd->flags |= QIB_HAS_QSFP;