]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/constants.h
First part of IRQ handling changes
[lincan.git] / lincan / include / constants.h
index d5c66d90d37e6dd16600f59e77574c60ed0629f4..aef197deaa2fce7a562ebbd1d35dda357ec977e8 100644 (file)
 #define CHIP_IRQ_PCI     (1<<3)
 #define CHIP_IRQ_VME     (1<<4)
 
+/* System independent defines of IRQ handled state */
+#define CANCHIP_IRQ_NONE    0
+#define CANCHIP_IRQ_HANDLED 1
+
 /* These flags can be used for the candevices_t structure flags data entry */
 #define CANDEV_PROGRAMMABLE_IRQ (1<<0)
 #define CANDEV_IO_RESERVED     (1<<1)