OSDN Git Service

staging: comedi: pcl724: add support for Diamond Systems ONYX-MM-DIO module
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 29 May 2014 17:42:23 +0000 (10:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jun 2014 21:41:31 +0000 (14:41 -0700)
The Diamond Systems ONYX-MM-DIO board is a PC/104 module with two 8255
chips providing 48 digital I/O channels.

This board can be supported by the pcl724 driver.

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

index 0ce4fba..3a07f0b 100644 (file)
@@ -135,13 +135,14 @@ config COMEDI_PCL724
          support driver.
 
          Supported boards include:
-           Advantech PCL-724    24 channels
-           Advantech PCL-722    144 (or 96) channels
-           Advantech PCL-731    48 channels
-           ADlink ACL-7122      144 (or 96) channels
-           ADlink ACL-7124      24 channels
-           ADlink PET-48DIO     48 channels
-           WinSystems PCM-IO48  48 channels (PC/104)
+           Advantech PCL-724            24 channels
+           Advantech PCL-722            144 (or 96) channels
+           Advantech PCL-731            48 channels
+           ADlink ACL-7122              144 (or 96) channels
+           ADlink ACL-7124              24 channels
+           ADlink PET-48DIO             48 channels
+           WinSystems PCM-IO48          48 channels (PC/104)
+           Diamond Systems ONYX-MM-DIO  48 channels (PC/104)
 
          To compile this driver as a module, choose M here: the module will be
          called pcl724.
index 8af13e7..655bac4 100644 (file)
@@ -15,6 +15,7 @@
  *         (ADLink) ACL-7124 [acl7124]
  *         (ADLink) PET-48DIO [pet48dio]
  *         (WinSystems) PCM-IO48 [pcmio48]
+ *         (Diamond Systems) ONYX-MM-DIO [onyx-mm-dio]
  * Author: Michal Dobes <dobes@tesnet.cz>
  * Status: untested
  *
@@ -73,6 +74,10 @@ static const struct pcl724_board boardtypes[] = {
                .name           = "pcmio48",
                .io_range       = 0x08,
                .numofports     = 2,    /* 48 DIO channels */
+       }, {
+               .name           = "onyx-mm-dio",
+               .io_range       = 0x10,
+               .numofports     = 2,    /* 48 DIO channels */
        },
 };