[libata] sata_vsc: partially revert a PCI ID-related commit
authorJeff Garzik <jeff@garzik.org>
Tue, 27 Jun 2006 00:52:17 +0000 (20:52 -0400)
committerJeff Garzik <jeff@garzik.org>
Tue, 27 Jun 2006 00:52:17 +0000 (20:52 -0400)
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>
drivers/scsi/sata_vsc.c
include/linux/pci_ids.h

index 01893a0cf1a6e9cc628e889b7ffa21fa7455c42b..616fd9634b4b0deb83a09e62dbde168c0da849ca 100644 (file)
@@ -443,16 +443,12 @@ err_out:
 }
 
 
-/*
- * Intel 31244 is supposed to be identical.
- * Compatibility is untested as of yet.
- */
 static const struct pci_device_id vsc_sata_pci_tbl[] = {
-       { PCI_VENDOR_ID_VITESSE, PCI_DEVICE_ID_VITESSE_VSC7174,
+       { PCI_VENDOR_ID_VITESSE, 0x7174,
          PCI_ANY_ID, PCI_ANY_ID, 0x10600, 0xFFFFFF, 0 },
-       { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_GD31244,
+       { PCI_VENDOR_ID_INTEL, 0x3200,
          PCI_ANY_ID, PCI_ANY_ID, 0x10600, 0xFFFFFF, 0 },
-       { }
+       { }     /* terminate list */
 };
 
 
index c2fd2d19938b94931303ed9e538b235a69494687..6abd2761e6372077461fdbeee6ab3c05c4994179 100644 (file)
 #define PCI_DEVICE_ID_INTEL_ICH8_4     0x2815
 #define PCI_DEVICE_ID_INTEL_ICH8_5     0x283e
 #define PCI_DEVICE_ID_INTEL_ICH8_6     0x2850
-#define PCI_DEVICE_ID_INTEL_GD31244    0x3200
 #define PCI_DEVICE_ID_INTEL_82855PM_HB 0x3340
 #define PCI_DEVICE_ID_INTEL_82830_HB   0x3575
 #define PCI_DEVICE_ID_INTEL_82830_CGC  0x3577