Staging: comedi: move another pci device id to the driver
authorGreg Kroah-Hartman <gregkh@suse.de>
Sat, 1 May 2010 00:23:51 +0000 (17:23 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:35:58 +0000 (11:35 -0700)
Put a pci vendor id into the drivers that need them.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/comedidev.h
drivers/staging/comedi/drivers/cb_pcidas64.c
drivers/staging/comedi/drivers/cb_pcimdas.c
drivers/staging/comedi/drivers/cb_pcimdda.c

index 09d3c51097f7f2e5dfd2e75fa480a690f34f3cf7..8f842f85a105b3ce30c7f338699a80de745c8772 100644 (file)
        COMEDI_MODULE_MACROS \
        COMEDI_PCI_INITCLEANUP_NOMODULE(comedi_driver, pci_id_table)
 
-#define PCI_VENDOR_ID_COMPUTERBOARDS   0x1307
 #define PCI_VENDOR_ID_ADVANTECH                0x13fe
 #define PCI_VENDOR_ID_AMPLICON         0x14dc
 #define PCI_VENDOR_ID_ADLINK           0x144a
index f17cb09acb2828cac67d125ceebb9f9eba92f482..0d9e92e59f9d4e5ec94e3ef709f899ee56407f7d 100644 (file)
@@ -107,6 +107,8 @@ TODO:
 #define PRESCALED_TIMER_BASE   10000   /*  100kHz 'prescaled' clock for slow aquisition, maybe I'll support this someday */
 #define DMA_BUFFER_SIZE 0x1000
 
+#define PCI_VENDOR_ID_COMPUTERBOARDS   0x1307
+
 /* maximum value that can be loaded into board's 24-bit counters*/
 static const int max_counter_value = 0xffffff;
 
index 2e61727fc9a0f72be8d59412f0da0c13e32f4514..49dccbbd713fd67e362feb5c8a871111597ee3c7 100644 (file)
@@ -52,6 +52,8 @@ See http://www.measurementcomputing.com/PDFManuals/pcim-das1602_16.pdf for more
 /* #define CBPCIMDAS_DEBUG */
 #undef CBPCIMDAS_DEBUG
 
+#define PCI_VENDOR_ID_COMPUTERBOARDS   0x1307
+
 /* Registers for the PCIM-DAS1602/16 */
 
 /* sizes of io regions (bytes) */
index e32a31763d50ae9beaaf4afb88d64c2dea769533..f404ec7723e52cb1c3a8481e730c58ad0b8af6db 100644 (file)
@@ -91,7 +91,8 @@ Configuration Options:
 #include "8255.h"
 
 /* device ids of the cards we support -- currently only 1 card supported */
-#define PCI_ID_PCIM_DDA06_16 0x0053
+#define PCI_VENDOR_ID_COMPUTERBOARDS   0x1307
+#define PCI_ID_PCIM_DDA06_16           0x0053
 
 /*
  * This is straight from skel.c -- I did this in case this source file