From fa13837a65e5938f555e82c166ab5db51bed4543 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Mon, 29 Oct 2007 15:52:01 +0000 Subject: [PATCH] Added PCI-DIO24 info supplied by Yoshiya Matsuzaka. Its software interface is same as PCI-DIO24H but with a different PCI device ID. --- comedi/drivers/cb_pcidio.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/comedi/drivers/cb_pcidio.c b/comedi/drivers/cb_pcidio.c index 55b3d216..f5d881cd 100644 --- a/comedi/drivers/cb_pcidio.c +++ b/comedi/drivers/cb_pcidio.c @@ -23,9 +23,9 @@ /* Driver: cb_pcidio Description: ComputerBoards' DIO boards with PCI interface -Devices: [Measurement Computing] PCI-DIO24H (cb_pcidio), PCI-DIO48H +Devices: [Measurement Computing] PCI-DIO24 (cb_pcidio), PCI-DIO24H, PCI-DIO48H Author: Yoshiya Matsuzaka -Updated: Wed, 01 Aug 2007 11:52:49 +0100 +Updated: Mon, 29 Oct 2007 15:40:47 +0000 Status: experimental This driver has been modified from skel.c of comedi-0.7.70. @@ -65,6 +65,12 @@ typedef struct pcidio_board_struct{ static const pcidio_board pcidio_boards[] = { + { + name: "pci-dio24", + n_8255: 1, + pcicontroler_badrindex: 1, + dioregs_badrindex: 2, + }, { name: "pci-dio24h", n_8255: 1, @@ -86,6 +92,7 @@ static const pcidio_board pcidio_boards[] = { /* Please add your PCI vendor ID to comedidev.h, and it will be forwarded * upstream. */ static struct pci_device_id pcidio_pci_table[] __devinitdata = { + { PCI_VENDOR_ID_CB, 0x0028, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { PCI_VENDOR_ID_CB, 0x0014, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { PCI_VENDOR_ID_CB, 0x000b, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { 0 } -- 2.26.2