Skip to content

Commit

Permalink
staging: comedi: addi_apci_1500: rewrite the subdevice support functions
Browse files Browse the repository at this point in the history
This driver is a mess. It violates the comedi API so much that I doubt
anything actually works.

Drop the addi-data/hwdrv_apci1500.c file and rewrite the subdevice support
functions.

This board has 16 digital inputs (subdevice 0) and 16 digital outputs
(subdevice 1).

It also has three 16-bit timer/counters provided by a Z8536 CIO chip
(subdevice 2). The Z8536 chip is also used to support pattern match
interrupt detection of the first 14 digital input channels.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
bigguiness authored and gregkh committed Jan 25, 2015
1 parent 53c0bee commit a8c66b6
Show file tree
Hide file tree
Showing 3 changed files with 974 additions and 1,660 deletions.
Loading

0 comments on commit a8c66b6

Please sign in to comment.