staging: comedi: aio_aio12_8: add ai and ao only card versions
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 20 Aug 2012 18:28:28 +0000 (11:28 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Sep 2012 18:26:16 +0000 (11:26 -0700)
commit862edd6be5bad0b05f5166ccef38cc2062405cf1
tree7665d6a2355c2f4a6662b672e8452f91c6205f77
parent062bc6fe6e47d995a95b810319b34db3e149dd0e
staging: comedi: aio_aio12_8: add ai and ao only card versions

Add the analog input and analog output only versions of the card
to the boardinfo. These cards all share the same i/o map.

Cleanup the attach so that the unsupported subdevices are not
initialized.

All of these boards also have an 8254 counter/timer. The 8254
device is not currently supported but stub in the subdevice
information so it can easily be added.

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>
drivers/staging/comedi/drivers/aio_aio12_8.c