]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/staging/comedi/drivers/ni_pcidio.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
[mv-sheeva.git] / drivers / staging / comedi / drivers / ni_pcidio.c
index 9d337516409d7cb73811a48b5fa508f96386c7d0..b126638d33b22d57c082fe5c3019083f57a78cac 100644 (file)
@@ -83,8 +83,6 @@ comedi_nonfree_firmware tarball available from http://www.comedi.org
 #define DPRINTK(format, args...)
 #endif
 
-#define PCI_VENDOR_ID_NATINST  0x1093
-
 #define PCI_DIO_SIZE 4096
 #define PCI_MITE_SIZE 4096
 
@@ -379,18 +377,17 @@ static const struct nidio_board nidio_boards[] = {
 #define this_board ((const struct nidio_board *)dev->board_ptr)
 
 static DEFINE_PCI_DEVICE_TABLE(ni_pcidio_pci_table) = {
-       {
-       PCI_VENDOR_ID_NATINST, 0x1150, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {
-       PCI_VENDOR_ID_NATINST, 0x1320, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {
-       PCI_VENDOR_ID_NATINST, 0x12b0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {
-       PCI_VENDOR_ID_NATINST, 0x0160, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {
-       PCI_VENDOR_ID_NATINST, 0x1630, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {
-       PCI_VENDOR_ID_NATINST, 0x13c0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {
-       PCI_VENDOR_ID_NATINST, 0x0400, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {
-       PCI_VENDOR_ID_NATINST, 0x1250, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {
-       PCI_VENDOR_ID_NATINST, 0x17d0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {
-       PCI_VENDOR_ID_NATINST, 0x1800, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {
-       0}
+       {PCI_DEVICE(PCI_VENDOR_ID_NI, 0x1150)},
+       {PCI_DEVICE(PCI_VENDOR_ID_NI, 0x1320)},
+       {PCI_DEVICE(PCI_VENDOR_ID_NI, 0x12b0)},
+       {PCI_DEVICE(PCI_VENDOR_ID_NI, 0x0160)},
+       {PCI_DEVICE(PCI_VENDOR_ID_NI, 0x1630)},
+       {PCI_DEVICE(PCI_VENDOR_ID_NI, 0x13c0)},
+       {PCI_DEVICE(PCI_VENDOR_ID_NI, 0x0400)},
+       {PCI_DEVICE(PCI_VENDOR_ID_NI, 0x1250)},
+       {PCI_DEVICE(PCI_VENDOR_ID_NI, 0x17d0)},
+       {PCI_DEVICE(PCI_VENDOR_ID_NI, 0x1800)},
+       {0}
 };
 
 MODULE_DEVICE_TABLE(pci, ni_pcidio_pci_table);