]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/constants.h
Cleaning up chip->chip_data on device unregister
[lincan.git] / lincan / include / constants.h
index 82383c265967650914e1e6a204a7aab35cfbd07c..1f0a45cc77d8382b1e7592a4cf4e4fd9f584faf8 100644 (file)
 #define CHIP_IRQ_VME     (1<<5)  /* interrupt is VME bus and requires VME bridge */
 #define CHIP_IRQ_CUSTOM  (1<<6)  /* custom interrupt provided by board or chip code */
 #define CHIP_IRQ_FAST    (1<<7)  /* interrupt handler only schedules postponed processing */
 #define CHIP_IRQ_VME     (1<<5)  /* interrupt is VME bus and requires VME bridge */
 #define CHIP_IRQ_CUSTOM  (1<<6)  /* custom interrupt provided by board or chip code */
 #define CHIP_IRQ_FAST    (1<<7)  /* interrupt handler only schedules postponed processing */
+#define CHIP_KEEP_DATA   (1<<8)  /* let the hotplug device free its chip_data structure itself */
 
 #define CHIP_MAX_IRQLOOP 1000
 
 
 #define CHIP_MAX_IRQLOOP 1000