]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
staging: comedi: addi_apci_1564: define the APCI1564_DO_INT_STATUS_REG bits
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 7 Aug 2015 18:45:04 +0000 (11:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Aug 2015 01:34:57 +0000 (18:34 -0700)
Define the bits in this register.

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/drivers/addi_apci_1564.c

index 873e329f4bfd6e9c8335c54cde3abe056a5789f9..3e8377a3b67b0ef30526f3d01be135ebe2429960 100644 (file)
@@ -84,6 +84,8 @@
 #define APCI1564_DO_INT_CTRL_CC_INT_ENA                BIT(1)
 #define APCI1564_DO_INT_CTRL_VCC_INT_ENA       BIT(0)
 #define APCI1564_DO_INT_STATUS_REG             0x1c
+#define APCI1564_DO_INT_STATUS_CC              BIT(1)
+#define APCI1564_DO_INT_STATUS_VCC             BIT(0)
 #define APCI1564_DO_IRQ_REG                    0x20
 #define APCI1564_WDOG_REG                      0x24
 #define APCI1564_WDOG_RELOAD_REG               0x28