Commit 59af888d authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Staging: comedi: move another pci vendor id

Move the vendor id to the drivers needing it.
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 558587e2
...@@ -109,7 +109,6 @@ ...@@ -109,7 +109,6 @@
COMEDI_MODULE_MACROS \ COMEDI_MODULE_MACROS \
COMEDI_PCI_INITCLEANUP_NOMODULE(comedi_driver, pci_id_table) COMEDI_PCI_INITCLEANUP_NOMODULE(comedi_driver, pci_id_table)
#define PCI_VENDOR_ID_ADVANTECH 0x13fe
#define PCI_VENDOR_ID_AMPLICON 0x14dc #define PCI_VENDOR_ID_AMPLICON 0x14dc
#define PCI_VENDOR_ID_ADLINK 0x144a #define PCI_VENDOR_ID_ADLINK 0x144a
#define PCI_VENDOR_ID_ICP 0x104c #define PCI_VENDOR_ID_ICP 0x104c
......
...@@ -63,6 +63,8 @@ Configuration options: ...@@ -63,6 +63,8 @@ Configuration options:
#define DPRINTK(fmt, args...) #define DPRINTK(fmt, args...)
#endif #endif
#define PCI_VENDOR_ID_ADVANTECH 0x13fe
/* hardware types of the cards */ /* hardware types of the cards */
#define TYPE_PCI171X 0 #define TYPE_PCI171X 0
#define TYPE_PCI1713 2 #define TYPE_PCI1713 2
......
...@@ -52,7 +52,7 @@ configures all channels in the same group. ...@@ -52,7 +52,7 @@ configures all channels in the same group.
#include "comedi_pci.h" #include "comedi_pci.h"
#define ADVANTECH_VENDOR 0x13fe /* Advantech PCI vendor ID */ #define PCI_VENDOR_ID_ADVANTECH 0x13fe /* Advantech PCI vendor ID */
/* hardware types of the cards */ /* hardware types of the cards */
#define TYPE_PCI1723 0 #define TYPE_PCI1723 0
...@@ -139,7 +139,7 @@ struct pci1723_board { ...@@ -139,7 +139,7 @@ struct pci1723_board {
static const struct pci1723_board boardtypes[] = { static const struct pci1723_board boardtypes[] = {
{ {
.name = "pci1723", .name = "pci1723",
.vendor_id = ADVANTECH_VENDOR, .vendor_id = PCI_VENDOR_ID_ADVANTECH,
.device_id = 0x1723, .device_id = 0x1723,
.iorange = IORANGE_1723, .iorange = IORANGE_1723,
.cardtype = TYPE_PCI1723, .cardtype = TYPE_PCI1723,
......
...@@ -45,6 +45,8 @@ Configuration options: ...@@ -45,6 +45,8 @@ Configuration options:
#define DPRINTK(fmt, args...) #define DPRINTK(fmt, args...)
#endif #endif
#define PCI_VENDOR_ID_ADVANTECH 0x13fe
/* hardware types of the cards */ /* hardware types of the cards */
enum hw_cards_id { enum hw_cards_id {
TYPE_PCI1730, TYPE_PCI1733, TYPE_PCI1734, TYPE_PCI1736, TYPE_PCI1730, TYPE_PCI1733, TYPE_PCI1734, TYPE_PCI1736,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment