Re: [PATCH 10/12] staging: comedi: comedidev.h: add PCI_VENDOR_ID_AMCC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <hsweeten@xxxxxxxxxxxxxxxxxxx>
Cc: Ian Abbott <abbotti@xxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
  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: <abbotti@xxxxxxxxx>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux