Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 363507
b: refs/heads/master
c: 8bdfefb
h: refs/heads/master
i:
  363505: edae5d5
  363503: f86f115
v: v3
  • Loading branch information
Ian Abbott authored and Greg Kroah-Hartman committed Mar 15, 2013
1 parent eb0b302 commit 7b7229e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 71d92face4d7c0f292b089f0806bceddd6a1768e
refs/heads/master: 8bdfefb7849c563e05aa60a4649cf4d0987b97b4
2 changes: 1 addition & 1 deletion trunk/drivers/staging/comedi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@ config COMEDI_NI_660X
select COMEDI_NI_TIOCMD
---help---
Enable support for National Instruments PCI-6601 (ni_660x), PCI-6602,
PXI-6602 and PXI-6608.
PXI-6602, PXI-6608 and PXI-6624.

To compile this driver as a module, choose M here: the module will be
called ni_660x.
Expand Down
10 changes: 8 additions & 2 deletions trunk/drivers/staging/comedi/drivers/ni_660x.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
* Driver: ni_660x
* Description: National Instruments 660x counter/timer boards
* Devices: [National Instruments] PCI-6601 (ni_660x), PCI-6602, PXI-6602,
* PXI-6608
* PXI-6608, PXI-6624
* Author: J.P. Mellor <jpmellor@rose-hulman.edu>,
* Herman.Bruyninckx@mech.kuleuven.ac.be,
* Wim.Meeussen@mech.kuleuven.ac.be,
* Klaas.Gadeyne@mech.kuleuven.ac.be,
* Frank Mori Hess <fmhess@users.sourceforge.net>
* Updated: Thu Oct 18 12:56:06 EDT 2007
* Updated: Fri, 15 Mar 2013 10:47:56 +0000
* Status: experimental
*
* Encoders work. PulseGeneration (both single pulse and pulse train)
Expand Down Expand Up @@ -392,6 +392,7 @@ enum ni_660x_boardid {
BOARD_PCI6602,
BOARD_PXI6602,
BOARD_PXI6608,
BOARD_PXI6624
};

struct ni_660x_board {
Expand All @@ -416,6 +417,10 @@ static const struct ni_660x_board ni_660x_boards[] = {
.name = "PXI-6608",
.n_chips = 2,
},
[BOARD_PXI6624] = {
.name = "PXI-6624",
.n_chips = 2,
},
};

#define NI_660X_MAX_NUM_CHIPS 2
Expand Down Expand Up @@ -1326,6 +1331,7 @@ static DEFINE_PCI_DEVICE_TABLE(ni_660x_pci_table) = {
{ PCI_VDEVICE(NI, 0x1360), BOARD_PXI6602 },
{ PCI_VDEVICE(NI, 0x2c60), BOARD_PCI6601 },
{ PCI_VDEVICE(NI, 0x2cc0), BOARD_PXI6608 },
{ PCI_VDEVICE(NI, 0x1e40), BOARD_PXI6624 },
{ 0 }
};
MODULE_DEVICE_TABLE(pci, ni_660x_pci_table);
Expand Down

0 comments on commit 7b7229e

Please sign in to comment.