Skip to contentSkip to conversation

hpsa: allow hpsa to claim Compaq SmartArray devices

PATCH New Jeff Mahoney 1 participant 1 message Apr 8, 2014

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

PATCH 1/1 hpsa: allow hpsa to claim Compaq SmartArray devices

The hpsa driver has a wildcard entry to support older HP SmartArray devices as unsupported. There are devices still in use that bear the Compaq vendor ID and should be handled as well. These devices will be handled only when hpsa_allow_any is set.

Tested with a device matching:

        {PCI_VENDOR_ID_COMPAQ, PCI_DEVICE_ID_COMPAQ_CISSC, 0x0E11, 0x4091}
---
 drivers/scsi/hpsa.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/scsi/hpsa.c +2 -0
@@ -136,6 +136,8 @@ static const struct pci_device_id hpsa_p
 	{PCI_VENDOR_ID_HP, 0x333f, 0x103c, 0x333f},
 	{PCI_VENDOR_ID_HP,     PCI_ANY_ID,	PCI_ANY_ID, PCI_ANY_ID,
 		PCI_CLASS_STORAGE_RAID << 8, 0xffff << 8, 0},
+	{PCI_VENDOR_ID_COMPAQ, PCI_ANY_ID,	PCI_ANY_ID, PCI_ANY_ID,
+		PCI_CLASS_STORAGE_RAID << 8, 0xffff << 8, 0},
 	{0,}
 };
 
Signature · 2 lines
Jeff Mahoney
SUSE Labs