From: Vinit Agnihotri Date: Fri, 16 Jan 2015 13:55:37 +0000 (-0500) Subject: IB/qib: Add support for the new QMH7360 card X-Git-Tag: firefly_0821_release~176^2~2252^2^8~5 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0e6bbba56c54f6305f24f0ad8991f5b5d03ae2b5;p=firefly-linux-kernel-4.4.55.git IB/qib: Add support for the new QMH7360 card Add support to recognize another board variation named QMH7360. Reviewed-by: Mike Marciniszyn Signed-off-by: Vinit Agnihotri Signed-off-by: Mike Marciniszyn Signed-off-by: Roland Dreier --- 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, \ #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;