staging: comedi: update adl_pci7296 driver
PATCH 1/1 staging: comedi: update adl_pci7296 driver
Currently this driver only supports the 96-channel PCI-7296. The 24 and 48 channel PCI-7224 and PCI-7248 boards share the same register map and just have less 8255 devices providing the i/o channels.
This adds the PCI PnP support for the other boards in the ADLink PCI-72xx series.
Also, remove the legacy attach using the comedi_config utility. This driver now supports the comedi PCI auto config attach mechanism and the legacy attach is not supported or required by this driver.
Signed-off-by H Hartley Sweeten <[email protected]>
Cc Ian Abbott <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
--- drivers/staging/comedi/Kconfig | 6 +- drivers/staging/comedi/drivers/adl_pci7296.c | 220 +++++++++++++++------------ 2 files changed, 123 insertions(+), 103 deletions(-)
drivers/staging/comedi/Kconfig +4 -2
@@ -688,10 +688,12 @@ config COMEDI_ADL_PCI7X3X called adl_pci7x3x. config COMEDI_ADL_PCI7296 - tristate "ADLink PCI-7296 96 ch. digital io board support" + tristate "ADLink PCI-72xx opto-22 compatible digital i/o board support" select COMEDI_8255 ---help--- - Enable support for ADlink PCI-7296 96 ch. digital io board support + Enable support for ADlink PCI-72xx opto-22 compatible digital i/o + boards. Supported boards include the 24-channel PCI-7224, 48-channel + PCI-7248, and 96-channel PCI-7296. To compile this driver as a module, choose M here: the module will be called adl_pci7296.
drivers/staging/comedi/drivers/adl_pci7296.c +119 -101
285 lines not on this page · raw message
Signature · 1 line
1.7.11