ATACH_IRQ_WAIT
#define ATACH_IRQ_WAIT 0x10 /* thread is waiting for irq */
#define ATACH_IRQ_WAIT 0x10 /* controller is waiting for irq */