]> Pileus Git - ~andy/linux/commitdiff
staging: comedi: comedidev.h: add PCI_VENDOR_ID_AMCC
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 25 Oct 2012 01:14:00 +0000 (18:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Oct 2012 02:39:19 +0000 (19:39 -0700)
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@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedidev.h
drivers/staging/comedi/drivers/adl_pci9118.c

index b02d43a327715a39a8a2913cdadaf73c4426b5d5..8c4847c8422472be292907c6c00c20850fe0fdc5 100644 (file)
@@ -59,6 +59,7 @@
  */
 #define PCI_VENDOR_ID_KOLTER           0x1001
 #define PCI_VENDOR_ID_ICP              0x104c
+#define PCI_VENDOR_ID_AMCC             0x10e8
 #define PCI_VENDOR_ID_DT               0x1116
 #define PCI_VENDOR_ID_IOTECH           0x1616
 #define PCI_VENDOR_ID_CONTEC           0x1221
index 4bcc5b1171d94608c78e800cac9ad90be6381cd1..a5d0be21eff09923ca80727e4afc1019390650fa 100644 (file)
@@ -73,8 +73,6 @@ Configuration options:
 #include "8253.h"
 #include "comedi_fc.h"
 
-#define PCI_VENDOR_ID_AMCC     0x10e8
-
 /* paranoid checks are broken */
 #undef PCI9118_PARANOIDCHECK   /*
                                 * if defined, then is used code which control