[libata] Use new PCI_VDEVICE() macro to dramatically shorten ID lists
Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
@@ -61,9 +61,10 @@ static u32 uli_scr_read (struct ata_port *ap, unsigned int sc_reg);
|
||||
static void uli_scr_write (struct ata_port *ap, unsigned int sc_reg, u32 val);
|
||||
|
||||
static const struct pci_device_id uli_pci_tbl[] = {
|
||||
{ PCI_VENDOR_ID_AL, 0x5289, PCI_ANY_ID, PCI_ANY_ID, 0, 0, uli_5289 },
|
||||
{ PCI_VENDOR_ID_AL, 0x5287, PCI_ANY_ID, PCI_ANY_ID, 0, 0, uli_5287 },
|
||||
{ PCI_VENDOR_ID_AL, 0x5281, PCI_ANY_ID, PCI_ANY_ID, 0, 0, uli_5281 },
|
||||
{ PCI_VDEVICE(AL, 0x5289), uli_5289 },
|
||||
{ PCI_VDEVICE(AL, 0x5287), uli_5287 },
|
||||
{ PCI_VDEVICE(AL, 0x5281), uli_5281 },
|
||||
|
||||
{ } /* terminate list */
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user