staging: comedi: comedidev.h: add PCI_VENDOR_ID_MEILHAUS
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 25 Oct 2012 01:11:21 +0000 (18:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Oct 2012 02:38:16 +0000 (19:38 -0700)
Add a define for the Meilhaus Electronic GmbH Germany 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/me4000.c
drivers/staging/comedi/drivers/me_daq.c

index b925f6c..fa57207 100644 (file)
@@ -61,6 +61,7 @@
 #define PCI_VENDOR_ID_CONTEC           0x1221
 #define PCI_VENDOR_ID_CB               0x1307  /* Measurement Computing */
 #define PCI_VENDOR_ID_ADVANTECH                0x13fe
+#define PCI_VENDOR_ID_MEILHAUS         0x1402
 #define PCI_VENDOR_ID_ADLINK           0x144a
 
 #define COMEDI_NUM_MINORS 0x100
index ba7fd9d..322c884 100644 (file)
@@ -60,8 +60,6 @@ broken.
 #include "me4000_fw.h"
 #endif
 
-#define PCI_VENDOR_ID_MEILHAUS         0x1402
-
 #define PCI_DEVICE_ID_MEILHAUS_ME4650  0x4650
 #define PCI_DEVICE_ID_MEILHAUS_ME4660  0x4660
 #define PCI_DEVICE_ID_MEILHAUS_ME4660I 0x4661
index 271db1c..ddb3dd7 100644 (file)
@@ -50,7 +50,6 @@ Configuration options:
 
 #define ME2600_FIRMWARE                "me2600_firmware.bin"
 
-#define PCI_VENDOR_ID_MEILHAUS 0x1402
 #define ME2000_DEVICE_ID       0x2000
 #define ME2600_DEVICE_ID       0x2600