Skip to contentSkip to conversation

mvsas: check subsystem id

PATCH RESEND In review Ke Wei 1 participant 1 message Mar 27, 2008 SCSI

lore
Share & tools
lore

Ke Wei

author
#0 lore raw

PATCH RESEND 8/9 mvsas: check subsystem id

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

---
 drivers/scsi/mvsas.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
drivers/scsi/mvsas.c +9 -0
index b5de3d0..e55b903 100644
@@ -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 },
 
Signature · 1 line
1.5.4