aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas
diff options
context:
space:
mode:
authornagalakshmi.nandigama@lsi.com <nagalakshmi.nandigama@lsi.com>2011-11-30 21:22:42 -0500
committerJames Bottomley <JBottomley@Parallels.com>2011-12-15 01:57:33 -0500
commit8bad3055e902a16b7cf47777fc3e78a965d0b57a (patch)
tree09f3217e551df0480a1c213f065304fca1aff06e /drivers/scsi/mpt2sas
parent9ac49d3a510c2686545d4e0520fdc79b341b5794 (diff)
[SCSI] mpt2sas: Added support for customer specific branding
Signed-off-by: Nagalakshmi Nandigama <nagalakshmi.nandigama@lsi.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/mpt2sas')
-rw-r--r--drivers/scsi/mpt2sas/mpt2sas_base.c16
-rw-r--r--drivers/scsi/mpt2sas/mpt2sas_base.h12
2 files changed, 28 insertions, 0 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c
index 4a8706867700..c0526878a337 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_base.c
+++ b/drivers/scsi/mpt2sas/mpt2sas_base.c
@@ -1988,6 +1988,22 @@ _base_display_intel_branding(struct MPT2SAS_ADAPTER *ioc)
1988 printk(MPT2SAS_INFO_FMT "%s\n", ioc->name, 1988 printk(MPT2SAS_INFO_FMT "%s\n", ioc->name,
1989 MPT2SAS_INTEL_RS25GB008_BRANDING); 1989 MPT2SAS_INTEL_RS25GB008_BRANDING);
1990 break; 1990 break;
1991 case MPT2SAS_INTEL_RMS25JB080_SSDID:
1992 printk(MPT2SAS_INFO_FMT "%s\n", ioc->name,
1993 MPT2SAS_INTEL_RMS25JB080_BRANDING);
1994 break;
1995 case MPT2SAS_INTEL_RMS25JB040_SSDID:
1996 printk(MPT2SAS_INFO_FMT "%s\n", ioc->name,
1997 MPT2SAS_INTEL_RMS25JB040_BRANDING);
1998 break;
1999 case MPT2SAS_INTEL_RMS25KB080_SSDID:
2000 printk(MPT2SAS_INFO_FMT "%s\n", ioc->name,
2001 MPT2SAS_INTEL_RMS25KB080_BRANDING);
2002 break;
2003 case MPT2SAS_INTEL_RMS25KB040_SSDID:
2004 printk(MPT2SAS_INFO_FMT "%s\n", ioc->name,
2005 MPT2SAS_INTEL_RMS25KB040_BRANDING);
2006 break;
1991 default: 2007 default:
1992 break; 2008 break;
1993 } 2009 }
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.h b/drivers/scsi/mpt2sas/mpt2sas_base.h
index 88ead5ed2afc..f2b7e40f105c 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_base.h
+++ b/drivers/scsi/mpt2sas/mpt2sas_base.h
@@ -157,6 +157,14 @@
157/* 157/*
158 * Intel HBA branding 158 * Intel HBA branding
159 */ 159 */
160#define MPT2SAS_INTEL_RMS25JB080_BRANDING \
161 "Intel(R) Integrated RAID Module RMS25JB080"
162#define MPT2SAS_INTEL_RMS25JB040_BRANDING \
163 "Intel(R) Integrated RAID Module RMS25JB040"
164#define MPT2SAS_INTEL_RMS25KB080_BRANDING \
165 "Intel(R) Integrated RAID Module RMS25KB080"
166#define MPT2SAS_INTEL_RMS25KB040_BRANDING \
167 "Intel(R) Integrated RAID Module RMS25KB040"
160#define MPT2SAS_INTEL_RMS2LL080_BRANDING \ 168#define MPT2SAS_INTEL_RMS2LL080_BRANDING \
161 "Intel Integrated RAID Module RMS2LL080" 169 "Intel Integrated RAID Module RMS2LL080"
162#define MPT2SAS_INTEL_RMS2LL040_BRANDING \ 170#define MPT2SAS_INTEL_RMS2LL040_BRANDING \
@@ -168,6 +176,10 @@
168/* 176/*
169 * Intel HBA SSDIDs 177 * Intel HBA SSDIDs
170 */ 178 */
179#define MPT2SAS_INTEL_RMS25JB080_SSDID 0x3516
180#define MPT2SAS_INTEL_RMS25JB040_SSDID 0x3517
181#define MPT2SAS_INTEL_RMS25KB080_SSDID 0x3518
182#define MPT2SAS_INTEL_RMS25KB040_SSDID 0x3519
171#define MPT2SAS_INTEL_RMS2LL080_SSDID 0x350E 183#define MPT2SAS_INTEL_RMS2LL080_SSDID 0x350E
172#define MPT2SAS_INTEL_RMS2LL040_SSDID 0x350F 184#define MPT2SAS_INTEL_RMS2LL040_SSDID 0x350F
173#define MPT2SAS_INTEL_RS25GB008_SSDID 0x3000 185#define MPT2SAS_INTEL_RS25GB008_SSDID 0x3000