From: Joe Jin Date: Fri, 20 Jul 2012 13:30:51 +0000 (+0800) Subject: [scsi] hpsa: add all support devices for ol5 X-Git-Tag: v2.6.39-400.9.0~430 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=88b3a3551e02c243cfee07ff9bc756de53952897;p=users%2Fjedix%2Flinux-maple.git [scsi] hpsa: add all support devices for ol5 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 --- diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 02199b5005e5..1a796e9d1e20 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -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}, };