]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita0a7a93eb56aeb76acfdcbcd664cc042c6d46fc9
tree884ef0918214aa78b14f66ab1b82839c6ee90bd1
parentd88802311a38b5e029887ce452ae6c9a36d540d5
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