Skip to contentSkip to conversation

SYM2: claim only "Storage" class, some more

PATCH New Yanko Kaneti 1 participant 1 message Oct 15, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SYM2: claim only "Storage" class, some more

Hi,

The Compaq dl380 that I have here has a 53C1510 of the PCI_DEVICE_ID_NCR_53C1510 (0x0010) variety and sym2 still claims it so for me knowing little about scsi/pci/sym2/cpqarray copying Grant Grundler's PCI_DEVICE_ID_LSI_53C1510 fix seems like the correct thing to do. (and fixes it for me)

Cheers
Yanko

ps.
I also bugzilla-ed this a week or so ago..
http://bugzilla.kernel.org/show_bug.cgi?id=7279 but perhaps should have posted here first

 drivers/scsi/sym53c8xx_2/sym_glue.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/sym53c8xx_2/sym_glue.c +1 -1
@@ -2094,7 +2094,7 @@
 	{ PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_NCR_53C875,
 	  PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL },
 	{ PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_NCR_53C1510,
-	  PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL }, /* new */
+	  PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_STORAGE_SCSI<<8,  0xffff00, 0UL }, /* new */
 	{ PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_53C895A,
 	  PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL },
 	{ PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_53C875A,