All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 8/9][RESEND] mvsas: check subsystem id
@ 2008-03-27  6:55 Ke Wei
  0 siblings, 0 replies; only message in thread
From: Ke Wei @ 2008-03-27  6:55 UTC (permalink / raw)
  To: linux-scsi; +Cc: james.bottomley, jeff

add support for mv6480 chip which subsystem id is 6480 in spite of device id is 6440.

Signed-off-by: Ke Wei <kewei@marvell.com>
---
 drivers/scsi/mvsas.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/drivers/scsi/mvsas.c b/drivers/scsi/mvsas.c
index b5de3d0..e55b903 100644
--- a/drivers/scsi/mvsas.c
+++ b/drivers/scsi/mvsas.c
@@ -3163,6 +3163,15 @@ static struct sas_domain_function_template mvs_transport_ops = {
 static struct pci_device_id __devinitdata mvs_pci_table[] = {
 	{ PCI_VDEVICE(MARVELL, 0x6320), chip_6320 },
 	{ PCI_VDEVICE(MARVELL, 0x6340), chip_6440 },
+	{
+		.vendor 	= PCI_VENDOR_ID_MARVELL,
+		.device 	= 0x6440,
+		.subvendor	= PCI_ANY_ID,
+		.subdevice	= 0x6480,
+		.class		= 0,
+		.class_mask	= 0,
+		.driver_data	= chip_6480,
+	},
 	{ PCI_VDEVICE(MARVELL, 0x6440), chip_6440 },
 	{ PCI_VDEVICE(MARVELL, 0x6480), chip_6480 },
 
-- 
1.5.4





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-27  6:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-27  6:55 [PATCH 8/9][RESEND] mvsas: check subsystem id Ke Wei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.