staging: comedi: adv_pci_dio: Add a counter subdevice to PCI-1751
authorIan Abbott <abbotti@mev.co.uk>
Mon, 16 May 2011 11:05:54 +0000 (12:05 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 May 2011 20:33:39 +0000 (13:33 -0700)
commitcfe3cffd8e44c0b69c9c50a1659acbd32ac19b70
tree884ef0918214aa78b14f66ab1b82839c6ee90bd1
parentc5cbebf87f49dfb4f4ccdf86f6c24b4912a3061f
staging: comedi: adv_pci_dio: Add a counter subdevice to PCI-1751

The Advantech PCI-1751 has a 8254 counter chip on board.  Add it to the
device as a counter subdevice.  Apparently the counter can generate
interrupts although the driver does not currently use this capability.

Original patch by Ivan Russkih (Иван Русских) <vanekrus at gmail dot
com>.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/adv_pci_dio.c