aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/hpsa.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index ec9b3a279f58..25faaae324a3 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -95,6 +95,8 @@ static const struct pci_device_id hpsa_pci_device_id[] = {
95 {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSF, 0x103C, 0x333F}, 95 {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSF, 0x103C, 0x333F},
96 {PCI_VENDOR_ID_HP, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, 96 {PCI_VENDOR_ID_HP, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
97 PCI_CLASS_STORAGE_RAID << 8, 0xffff << 8, 0}, 97 PCI_CLASS_STORAGE_RAID << 8, 0xffff << 8, 0},
98 {PCI_VENDOR_ID_COMPAQ, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
99 PCI_CLASS_STORAGE_RAID << 8, 0xffff << 8, 0},
98 {0,} 100 {0,}
99}; 101};
100 102
@@ -3293,7 +3295,9 @@ static int __devinit hpsa_lookup_board_id(struct pci_dev *pdev, u32 *board_id)
3293 if (*board_id == products[i].board_id) 3295 if (*board_id == products[i].board_id)
3294 return i; 3296 return i;
3295 3297
3296 if (subsystem_vendor_id != PCI_VENDOR_ID_HP || !hpsa_allow_any) { 3298 if ((subsystem_vendor_id != PCI_VENDOR_ID_HP &&
3299 subsystem_vendor_id != PCI_VENDOR_ID_COMPAQ) ||
3300 !hpsa_allow_any) {
3297 dev_warn(&pdev->dev, "unrecognized board ID: " 3301 dev_warn(&pdev->dev, "unrecognized board ID: "
3298 "0x%08x, ignoring.\n", *board_id); 3302 "0x%08x, ignoring.\n", *board_id);
3299 return -ENODEV; 3303 return -ENODEV;