From: Frank Mori Hess Date: Wed, 17 Oct 2007 20:01:56 +0000 (+0000) Subject: Added pci device id for pxi-6602. X-Git-Tag: r0_7_75~16 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=afa340e51b1fb5f47a077fb64b1b3aaa99ab3753;p=comedi.git Added pci device id for pxi-6602. --- diff --git a/comedi/drivers/ni_660x.c b/comedi/drivers/ni_660x.c index 8c2f2315..075bd09c 100644 --- a/comedi/drivers/ni_660x.c +++ b/comedi/drivers/ni_660x.c @@ -21,7 +21,7 @@ Driver: ni_660x Description: National Instruments 660x counter/timer boards Devices: -[National Instruments] PCI-6601 (ni_660x), PCI-6602 +[National Instruments] PCI-6601 (ni_660x), PCI-6602, PXI-6602 Author: J.P. Mellor , Herman.Bruyninckx@mech.kuleuven.ac.be, Wim.Meeussen@mech.kuleuven.ac.be, @@ -408,6 +408,11 @@ static const ni_660x_board ni_660x_boards[] = name : "PCI-6602", n_chips : 2, }, + { + dev_id : 0x1360, + name : "PXI-6602", + n_chips : 2, + }, }; #define NI_660X_MAX_NUM_CHIPS 2 #define NI_660X_MAX_NUM_COUNTERS (NI_660X_MAX_NUM_CHIPS * counters_per_chip) @@ -415,6 +420,7 @@ static const ni_660x_board ni_660x_boards[] = static struct pci_device_id ni_660x_pci_table[] __devinitdata = { { PCI_VENDOR_ID_NATINST, 0x2c60, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { PCI_VENDOR_ID_NATINST, 0x1310, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, + { PCI_VENDOR_ID_NATINST, 0x1360, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { 0 } }; MODULE_DEVICE_TABLE(pci, ni_660x_pci_table);