]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
IB/qib: Add support for the new QMH7360 card
authorVinit Agnihotri <vinit.abhay.agnihotri@intel.com>
Fri, 16 Jan 2015 13:55:37 +0000 (08:55 -0500)
committerRoland Dreier <roland@purestorage.com>
Tue, 17 Feb 2015 00:42:41 +0000 (16:42 -0800)
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>
drivers/infiniband/hw/qib/qib_iba7322.c

index 23ca2aca1ad66b020ee5069b9b4e9974bc49e6f7..a07f7f2b72a134b55b5e8e82d6824c370ae7a97a 100644 (file)
@@ -158,6 +158,7 @@ MODULE_PARM_DESC(txselect, \
 
 #define BOARD_QME7342 5
 #define BOARD_QMH7342 6
+#define BOARD_QMH7360 9
 #define IS_QMH(dd) (SYM_FIELD((dd)->revision, Revision, BoardID) == \
                    BOARD_QMH7342)
 #define IS_QME(dd) (SYM_FIELD((dd)->revision, Revision, BoardID) == \
@@ -3617,6 +3618,10 @@ static unsigned qib_7322_boardname(struct qib_devdata *dd)
                n = "InfiniPath_QME7362";
                dd->flags |= QIB_HAS_QSFP;
                break;
+       case BOARD_QMH7360:
+               n = "Intel IB QDR 1P FLR-QSFP Adptr";
+               dd->flags |= QIB_HAS_QSFP;
+               break;
        case 15:
                n = "InfiniPath_QLE7342_TEST";
                dd->flags |= QIB_HAS_QSFP;