]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
[scsi] hpsa: add all support devices for ol5
authorJoe Jin <joe.jin@oracle.com>
Fri, 20 Jul 2012 13:30:51 +0000 (21:30 +0800)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Tue, 7 Aug 2012 07:56:30 +0000 (00:56 -0700)
Orabug: 14106006
To support uek2 on ol5, commit 29a8828 disable some devices from support list,
this made ovm3 upgrade from 3.0.3 to 3.1.1 failed to addressed local disk for
disk device name changed.

If kernel run as ovm3.1.1 dom0 kernel, please pass cciss_allow_hpsa=1 when
load cciss driver, for ol5.

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/scsi/hpsa.c

index 02199b5005e535b904e4dac3c88ebfd433355d2a..1a796e9d1e20a55ccee66cc69818f7874aa1030f 100644 (file)
@@ -83,7 +83,6 @@ MODULE_PARM_DESC(hpsa_simple_mode,
 
 /* define the PCI info for the cards we can control */
 static const struct pci_device_id hpsa_pci_device_id[] = {
-#ifndef CONFIG_UEK5
        {PCI_VENDOR_ID_HP,     PCI_DEVICE_ID_HP_CISSE,     0x103C, 0x3241},
        {PCI_VENDOR_ID_HP,     PCI_DEVICE_ID_HP_CISSE,     0x103C, 0x3243},
        {PCI_VENDOR_ID_HP,     PCI_DEVICE_ID_HP_CISSE,     0x103C, 0x3245},
@@ -99,7 +98,6 @@ static const struct pci_device_id hpsa_pci_device_id[] = {
        {PCI_VENDOR_ID_HP,     PCI_DEVICE_ID_HP_CISSF,     0x103C, 0x3354},
        {PCI_VENDOR_ID_HP,     PCI_DEVICE_ID_HP_CISSF,     0x103C, 0x3355},
        {PCI_VENDOR_ID_HP,     PCI_DEVICE_ID_HP_CISSF,     0x103C, 0x3356},
-#endif
        {PCI_VENDOR_ID_HP,     PCI_ANY_ID,      PCI_ANY_ID, PCI_ANY_ID,
                PCI_CLASS_STORAGE_RAID << 8, 0xffff << 8, 0},
        {0,}
@@ -112,7 +110,6 @@ MODULE_DEVICE_TABLE(pci, hpsa_pci_device_id);
  *  access = Address of the struct of function pointers
  */
 static struct board_type products[] = {
-#ifndef CONFIG_UEK5
        {0x3241103C, "Smart Array P212", &SA5_access},
        {0x3243103C, "Smart Array P410", &SA5_access},
        {0x3245103C, "Smart Array P410i", &SA5_access},
@@ -127,7 +124,6 @@ static struct board_type products[] = {
        {0x3354103C, "Smart Array", &SA5_access},
        {0x3355103C, "Smart Array", &SA5_access},
        {0x3356103C, "Smart Array", &SA5_access},
-#endif
        {0xFFFF103C, "Unknown Smart Array", &SA5_access},
 };