diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-06-06 15:39:09 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-08 21:57:01 -0700 |
commit | ef5838d91d462e38bdc5a191002383179a618d39 (patch) | |
tree | 89c7aef932b81af7a413a10105fd6456463a93c9 /drivers/staging/comedi/drivers/pcl730.c | |
parent | 207fb16d53f41b6b31730307c4608c8f2c43e456 (diff) |
staging: comedi: pcl730: add support for the P8R8-DIO ISA board
The ICP P8R8-DIO ISA boards can be supported by this driver. This board
has 8 isolated digital outputs and 8 isolated digital outputs.
Add support for this board to the pcl730 driver.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi/drivers/pcl730.c')
-rw-r--r-- | drivers/staging/comedi/drivers/pcl730.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/pcl730.c b/drivers/staging/comedi/drivers/pcl730.c index d3bdf744a07c..f9e99278152a 100644 --- a/drivers/staging/comedi/drivers/pcl730.c +++ b/drivers/staging/comedi/drivers/pcl730.c @@ -12,6 +12,7 @@ * (Adlink) ACL-7130 [acl7130] * (Advantech) PCM-3730 [pcm3730] * (Advantech) PCL-725 [pcl725] + * (ICP) P8R8-DIO [p16r16dio] * (Adlink) ACL-7225b [acl7225b] * (ICP) P16R16-DIO [p16r16dio] * (Advantech) PCL-733 [pcl733] @@ -35,8 +36,8 @@ * * The pcm3730 PC/104 board does not have the PCL730_IDIO_HI register. * The pcl725 ISA board uses separate registers for isolated digital I/O. - * The acl7225b and p16r16dio boards have isolated digital output readback - * and separate registers for isolated digital I/O. + * The p8r8dio, acl7225b, and p16r16dio boards have isolated digital output + * readback and separate registers for isolated digital I/O. * The pcl733 ISA board uses all four registers for isolated digital inputs. * The pcl734 ISA board uses all four registers for isolated digital outputs. */ @@ -98,6 +99,14 @@ static const struct pcl730_board pcl730_boards[] = { .n_iso_out_chan = 8, .n_iso_in_chan = 8, }, { + .name = "p8r8dio", + .io_range = 0x02, + .is_pcl725 = 1, + .has_readback = 1, + .n_subdevs = 2, + .n_iso_out_chan = 8, + .n_iso_in_chan = 8, + }, { .name = "acl7225b", .io_range = 0x08, /* only 4 are used */ .is_acl7225b = 1, |