Blob Blame History Raw
From: Jeff Mahoney <jeffm@suse.com>
Subject: hpsa: allow hpsa to claim Compaq SmartArray devices
Patch-mainline: Submitted to linux-scsi (and maintainer), 8 Apr 2014
References: bnc#869383

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}

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
 drivers/scsi/hpsa.c |    2 ++
 1 file changed, 2 insertions(+)

--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -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,}
 };