On 2012-10-25 02:14, H Hartley Sweeten wrote:
Add a define for the Applied Micro Circuits Corp. PCI vendor id.
Remove the duplicates in the drivers.

Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Ian Abbott <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
---
  drivers/staging/comedi/comedidev.h           | 1 +
  drivers/staging/comedi/drivers/adl_pci9118.c | 2 --
  2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/comedi/comedidev.h 
b/drivers/staging/comedi/comedidev.h
index b02d43a..8c4847c 100644
--- a/drivers/staging/comedi/comedidev.h
+++ b/drivers/staging/comedi/comedidev.h
@@ -59,6 +59,7 @@
   */
  #define PCI_VENDOR_ID_KOLTER          0x1001
  #define PCI_VENDOR_ID_ICP             0x104c
+#define PCI_VENDOR_ID_AMCC             0x10e8

That's an interesting one because its the same as PCI_VENDOR_ID_ADDIDATA_OLD. Of course, it's the define in include/linux/pci_ids.h that is incorrect in this case. Applied Micro Circuits Corp. (AMCC) are or were a maker of PCI interface chips and would dish out device IDs to customers using their chips in their designs in the same way that PLX Technology do for their chips.

(I wish Altera would offer the same service now that some of their FPGAs include hard PCI/PCI-Express cores!)

--
-=( Ian Abbott @ MEV Ltd.    E-mail: <[email protected]>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to