Added PCI id for PCI-6503
authorDavid Schleef <ds@schleef.org>
Thu, 2 Mar 2000 08:16:01 +0000 (08:16 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 2 Mar 2000 08:16:01 +0000 (08:16 +0000)
comedi/drivers/ni_pcidio.c

index 75e13c054cf82125c0cb1766fb20d9c056fd3769..8ace19cdfaea918c99e2f20ddf36aa5509514a1c 100644 (file)
@@ -162,14 +162,19 @@ static nidio_board nidio_boards[]={
        n_8255:         4,
        is_diodaq:      0,
        },
+       {
+       dev_id:         0x17d0,
+       name:           "pci-6503",
+       n_8255:         1,
+       is_diodaq:      0,
+       },
 };
-#define n_nidio_boards 2
+#define n_nidio_boards (sizeof(nidio_boards)/sizeof(nidio_boards[0]))
 
 typedef struct{
        struct mite_struct *mite;
        int boardtype;
        int dio;
-       int aip[16];
 }nidio96_private;
 #define devpriv ((nidio96_private *)dev->private)