diff options
| author | Jeff Garzik <jeff@garzik.org> | 2006-06-26 20:52:17 -0400 |
|---|---|---|
| committer | Jeff Garzik <jeff@garzik.org> | 2006-06-26 20:52:17 -0400 |
| commit | 438bc9c3dec27ab37f0ff78471d0b8b91addd2dd (patch) | |
| tree | b0fdf3fe89cf884c8c28de20fe3977f01571a109 | |
| parent | 8676ce07d38a09e0f41497d178357a314c4620cf (diff) | |
[libata] sata_vsc: partially revert a PCI ID-related commit
Partially revert 74d0a988d3aa359b6b8a8536c8cb92cce02ca5d5:
[PATCH] PCI: Move various PCI IDs to header file
libata policy is to avoid use of named PCI device ID constants.
These are often single-use constants, which have little value over
direct numeric constants save for constant include/linux/pci_ids.h
patching/merging headaches.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
| -rw-r--r-- | drivers/scsi/sata_vsc.c | 10 | ||||
| -rw-r--r-- | include/linux/pci_ids.h | 1 |
2 files changed, 3 insertions, 8 deletions
diff --git a/drivers/scsi/sata_vsc.c b/drivers/scsi/sata_vsc.c index 01893a0cf1..616fd9634b 100644 --- a/drivers/scsi/sata_vsc.c +++ b/drivers/scsi/sata_vsc.c | |||
| @@ -443,16 +443,12 @@ err_out: | |||
| 443 | } | 443 | } |
| 444 | 444 | ||
| 445 | 445 | ||
| 446 | /* | ||
| 447 | * Intel 31244 is supposed to be identical. | ||
| 448 | * Compatibility is untested as of yet. | ||
| 449 | */ | ||
| 450 | static const struct pci_device_id vsc_sata_pci_tbl[] = { | 446 | static const struct pci_device_id vsc_sata_pci_tbl[] = { |
| 451 | { PCI_VENDOR_ID_VITESSE, PCI_DEVICE_ID_VITESSE_VSC7174, | 447 | { PCI_VENDOR_ID_VITESSE, 0x7174, |
| 452 | PCI_ANY_ID, PCI_ANY_ID, 0x10600, 0xFFFFFF, 0 }, | 448 | PCI_ANY_ID, PCI_ANY_ID, 0x10600, 0xFFFFFF, 0 }, |
| 453 | { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_GD31244, | 449 | { PCI_VENDOR_ID_INTEL, 0x3200, |
| 454 | PCI_ANY_ID, PCI_ANY_ID, 0x10600, 0xFFFFFF, 0 }, | 450 | PCI_ANY_ID, PCI_ANY_ID, 0x10600, 0xFFFFFF, 0 }, |
| 455 | { } | 451 | { } /* terminate list */ |
| 456 | }; | 452 | }; |
| 457 | 453 | ||
| 458 | 454 | ||
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index c2fd2d1993..6abd2761e6 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h | |||
| @@ -2170,7 +2170,6 @@ | |||
| 2170 | #define PCI_DEVICE_ID_INTEL_ICH8_4 0x2815 | 2170 | #define PCI_DEVICE_ID_INTEL_ICH8_4 0x2815 |
| 2171 | #define PCI_DEVICE_ID_INTEL_ICH8_5 0x283e | 2171 | #define PCI_DEVICE_ID_INTEL_ICH8_5 0x283e |
| 2172 | #define PCI_DEVICE_ID_INTEL_ICH8_6 0x2850 | 2172 | #define PCI_DEVICE_ID_INTEL_ICH8_6 0x2850 |
| 2173 | #define PCI_DEVICE_ID_INTEL_GD31244 0x3200 | ||
| 2174 | #define PCI_DEVICE_ID_INTEL_82855PM_HB 0x3340 | 2173 | #define PCI_DEVICE_ID_INTEL_82855PM_HB 0x3340 |
| 2175 | #define PCI_DEVICE_ID_INTEL_82830_HB 0x3575 | 2174 | #define PCI_DEVICE_ID_INTEL_82830_HB 0x3575 |
| 2176 | #define PCI_DEVICE_ID_INTEL_82830_CGC 0x3577 | 2175 | #define PCI_DEVICE_ID_INTEL_82830_CGC 0x3577 |
