pci_ids.h: move PCI_VENDOR_ID_AMCC here
PCI_VENDOR_ID_AMCC is defined locally in "drivers/staging/comedi/comedidev.h" for a few comedi hardware drivers, namely "adl_pci9118", "addi_apci_1500" and "addi_apci_3120" (also "addi_apci_1710" but that is not currently built and will probably be removed soon). Move the define into "include/linux/pci_ids.h" as it is shared by several drivers (albeit all comedi drivers currently). PCI_VENDOR_ID_AMCC happens to have the same value (0x10e8) as PCI_VENDOR_ID_ADDIDATA_OLD. The vendor ID is actually assigned to Applied Micro Circuits Corporation and Addi-Data were using device IDs assigned by AMCC on some of their earlier PCI boards. The PCI_VENDOR_ID_ADDIDATA_OLD define is still being used by the "8250_pci" PCI serial board driver. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
c4b0585607
commit
12197de2cd
@@ -1311,6 +1311,8 @@
|
||||
#define PCI_DEVICE_ID_IMS_TT128 0x9128
|
||||
#define PCI_DEVICE_ID_IMS_TT3D 0x9135
|
||||
|
||||
#define PCI_VENDOR_ID_AMCC 0x10e8
|
||||
|
||||
#define PCI_VENDOR_ID_INTERG 0x10ea
|
||||
#define PCI_DEVICE_ID_INTERG_1682 0x1682
|
||||
#define PCI_DEVICE_ID_INTERG_2000 0x2000
|
||||
@@ -2256,7 +2258,7 @@
|
||||
/*
|
||||
* ADDI-DATA GmbH communication cards <info@addi-data.com>
|
||||
*/
|
||||
#define PCI_VENDOR_ID_ADDIDATA_OLD 0x10E8
|
||||
#define PCI_VENDOR_ID_ADDIDATA_OLD 0x10E8 /* actually AMCC */
|
||||
#define PCI_VENDOR_ID_ADDIDATA 0x15B8
|
||||
#define PCI_DEVICE_ID_ADDIDATA_APCI7500 0x7000
|
||||
#define PCI_DEVICE_ID_ADDIDATA_APCI7420 0x7001
|
||||
|
Reference in New Issue
Block a user