mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 12:10:53 +07:00
[SCSI] convert to PCI_DEVICE() macro
Convert the pci_device_id-table of the megaraid_sas-driver to the PCI_DEVICE-macro, to safe some lines. Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de> Acked-by: "Patro, Sumant" <Sumant.Patro@lsil.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
2b6ee9b529
commit
f3d7271c5a
@ -53,31 +53,15 @@ MODULE_DESCRIPTION("LSI Logic MegaRAID SAS Driver");
|
|||||||
*/
|
*/
|
||||||
static struct pci_device_id megasas_pci_table[] = {
|
static struct pci_device_id megasas_pci_table[] = {
|
||||||
|
|
||||||
{
|
{PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS1064R)},
|
||||||
PCI_VENDOR_ID_LSI_LOGIC,
|
/* xscale IOP */
|
||||||
PCI_DEVICE_ID_LSI_SAS1064R, /* xscale IOP */
|
{PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS1078R)},
|
||||||
PCI_ANY_ID,
|
/* ppc IOP */
|
||||||
PCI_ANY_ID,
|
{PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_VERDE_ZCR)},
|
||||||
},
|
/* xscale IOP, vega */
|
||||||
{
|
{PCI_DEVICE(PCI_VENDOR_ID_DELL, PCI_DEVICE_ID_DELL_PERC5)},
|
||||||
PCI_VENDOR_ID_LSI_LOGIC,
|
/* xscale IOP */
|
||||||
PCI_DEVICE_ID_LSI_SAS1078R, /* ppc IOP */
|
{}
|
||||||
PCI_ANY_ID,
|
|
||||||
PCI_ANY_ID,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
PCI_VENDOR_ID_LSI_LOGIC,
|
|
||||||
PCI_DEVICE_ID_LSI_VERDE_ZCR, /* xscale IOP, vega */
|
|
||||||
PCI_ANY_ID,
|
|
||||||
PCI_ANY_ID,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
PCI_VENDOR_ID_DELL,
|
|
||||||
PCI_DEVICE_ID_DELL_PERC5, /* xscale IOP */
|
|
||||||
PCI_ANY_ID,
|
|
||||||
PCI_ANY_ID,
|
|
||||||
},
|
|
||||||
{0} /* Terminating entry */
|
|
||||||
};
|
};
|
||||||
|
|
||||||
MODULE_DEVICE_TABLE(pci, megasas_pci_table);
|
MODULE_DEVICE_TABLE(pci, megasas_pci_table);
|
||||||
|
Loading…
Reference in New Issue
Block a user