staging: comedi: comedidev.h: add PCI_VENDOR_ID_AMPLICON
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 25 Oct 2012 01:14:40 +0000 (18:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Oct 2012 02:41:05 +0000 (19:41 -0700)
Add a define for the Amplicon Liveline Limited 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/amplc_dio200.c
drivers/staging/comedi/drivers/amplc_pc236.c
drivers/staging/comedi/drivers/amplc_pc263.c
drivers/staging/comedi/drivers/amplc_pci224.c
drivers/staging/comedi/drivers/amplc_pci230.c

index 8c4847c8422472be292907c6c00c20850fe0fdc5..d9f2b8bfe6fd70e2d87ea6a27576caf459a16bf1 100644 (file)
@@ -68,6 +68,7 @@
 #define PCI_VENDOR_ID_MEILHAUS         0x1402
 #define PCI_VENDOR_ID_RTD              0x1435
 #define PCI_VENDOR_ID_ADLINK           0x144a
+#define PCI_VENDOR_ID_AMPLICON         0x14dc
 
 #define COMEDI_NUM_MINORS 0x100
 #define COMEDI_NUM_BOARD_MINORS 0x30
index 95c3f7824d81c34e958040dc55017e890039f9b6..ffe3f7385c7cff0191ea484a4f84896bba050ab6 100644 (file)
 #define DO_PCI IS_ENABLED(CONFIG_COMEDI_AMPLC_DIO200_PCI)
 
 /* PCI IDs */
-#define PCI_VENDOR_ID_AMPLICON 0x14dc
 #define PCI_DEVICE_ID_AMPLICON_PCI272 0x000a
 #define PCI_DEVICE_ID_AMPLICON_PCI215 0x000b
 #define PCI_DEVICE_ID_AMPLICON_PCIE236 0x0011
index 52541c95ba65d250108fd70e398124d4995bffc6..c4516355b3470c446bf374786640c7fb63733546 100644 (file)
@@ -66,7 +66,6 @@ unused.
 #define DO_PCI IS_ENABLED(CONFIG_COMEDI_AMPLC_PC236_PCI)
 
 /* PCI236 PCI configuration register information */
-#define PCI_VENDOR_ID_AMPLICON 0x14dc
 #define PCI_DEVICE_ID_AMPLICON_PCI236 0x0009
 #define PCI_DEVICE_ID_INVALID 0xffff
 
index 60830ccfb903f48fc9720490040d59bc113f0c5c..0369996a3839e9646b2e9b2396bdd3a099580b0e 100644 (file)
@@ -52,7 +52,6 @@ The state of the outputs can be read.
 #define DO_PCI IS_ENABLED(CONFIG_COMEDI_AMPLC_PC263_PCI)
 
 /* PCI263 PCI configuration register information */
-#define PCI_VENDOR_ID_AMPLICON 0x14dc
 #define PCI_DEVICE_ID_AMPLICON_PCI263 0x000c
 #define PCI_DEVICE_ID_INVALID 0xffff
 
index 6a9ec11c4f079e83dcd69fd72b7521b250bc9b45..610f2ce8fa12c68cb939ca2645599072ebab749a 100644 (file)
@@ -116,7 +116,6 @@ Caveats:
 /*
  * PCI IDs.
  */
-#define PCI_VENDOR_ID_AMPLICON 0x14dc
 #define PCI_DEVICE_ID_AMPLICON_PCI224 0x0007
 #define PCI_DEVICE_ID_AMPLICON_PCI234 0x0008
 #define PCI_DEVICE_ID_INVALID 0xffff
index 2675eefe8b5a41d0406546d30680bb43236d6f1a..d66d7d797f7c467a47ab0e574a2a6d79e30afa6c 100644 (file)
@@ -198,7 +198,6 @@ for (or detection of) various hardware problems added by Ian Abbott.
 #include "8255.h"
 
 /* PCI230 PCI configuration register information */
-#define PCI_VENDOR_ID_AMPLICON 0x14dc
 #define PCI_DEVICE_ID_PCI230 0x0000
 #define PCI_DEVICE_ID_PCI260 0x0006
 #define PCI_DEVICE_ID_INVALID 0xffff