staging: comedi: comedidev.h: add PCI_VENDOR_ID_RTD
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 25 Oct 2012 01:13:43 +0000 (18:13 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Oct 2012 02:39:19 +0000 (19:39 -0700)
Add a define for the RTD Embedded Technologies, Inc. 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/rtd520.c

index 41f0b576532412592fbc97dbc691c874ffb3946c..b02d43a327715a39a8a2913cdadaf73c4426b5d5 100644 (file)
@@ -65,6 +65,7 @@
 #define PCI_VENDOR_ID_CB               0x1307  /* Measurement Computing */
 #define PCI_VENDOR_ID_ADVANTECH                0x13fe
 #define PCI_VENDOR_ID_MEILHAUS         0x1402
+#define PCI_VENDOR_ID_RTD              0x1435
 #define PCI_VENDOR_ID_ADLINK           0x144a
 
 #define COMEDI_NUM_MINORS 0x100
index 0a91738eae330f0b3c7989ced1823c5a528ffaa6..fc0b1337a4715fb38af06d72ad1c1aba1e52e2e1 100644 (file)
@@ -147,8 +147,6 @@ Configuration options:
   Board specific stuff
 ======================================================================*/
 
-/* registers  */
-#define PCI_VENDOR_ID_RTD      0x1435
 /*
   The board has three memory windows: las0, las1, and lcfg (the PCI chip)
   Las1 has the data and can be burst DMAed 32bits at a time.