diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-05-25 11:02:06 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-05-25 11:02:06 +0200 |
commit | 52df0ee07ca23676785e6c7e569b6d93c6dbc026 (patch) | |
tree | 027fae84be17b3ba67c025861a0ab9844b0b0790 /drivers/ata/pata_via.c | |
parent | [libata] Fix decoding of 6-byte commands (diff) | |
download | linux-52df0ee07ca23676785e6c7e569b6d93c6dbc026.tar.xz linux-52df0ee07ca23676785e6c7e569b6d93c6dbc026.zip |
[libata] sata_via, pata_via: Add PCI IDs.
Supplied by VIA.
Also, convert named constants to hex values in the pata_via
PCI ID table. (standard libata policy for PCI device IDs, which are
considered simply arbitrary hex numbers, without a need to create a
single-use constant in linux/pci_ids.h)
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_via.c')
-rw-r--r-- | drivers/ata/pata_via.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/ata/pata_via.c b/drivers/ata/pata_via.c index 708dfc0c716b..a8462f1e890b 100644 --- a/drivers/ata/pata_via.c +++ b/drivers/ata/pata_via.c @@ -621,10 +621,11 @@ static int via_reinit_one(struct pci_dev *pdev) #endif static const struct pci_device_id via[] = { - { PCI_VDEVICE(VIA, PCI_DEVICE_ID_VIA_82C576_1), }, - { PCI_VDEVICE(VIA, PCI_DEVICE_ID_VIA_82C586_1), }, - { PCI_VDEVICE(VIA, PCI_DEVICE_ID_VIA_6410), }, - { PCI_VDEVICE(VIA, PCI_DEVICE_ID_VIA_SATA_EIDE), }, + { PCI_VDEVICE(VIA, 0x0571), }, + { PCI_VDEVICE(VIA, 0x0581), }, + { PCI_VDEVICE(VIA, 0x1571), }, + { PCI_VDEVICE(VIA, 0x3164), }, + { PCI_VDEVICE(VIA, 0x5324), }, { }, }; |