Subversion Repositories HelenOS

Rev

Rev 1923 | Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1923 Rev 1933
Line 143... Line 143...
143
    irq->devno = -1;
143
    irq->devno = -1;
144
    irq->trigger = 0;
144
    irq->trigger = 0;
145
    irq->claim = NULL;
145
    irq->claim = NULL;
146
    irq->handler = NULL;
146
    irq->handler = NULL;
147
    irq->arg = NULL;
147
    irq->arg = NULL;
-
 
148
    irq->notif_cfg.notify = false;
148
    irq->notif_cfg.answerbox = NULL;
149
    irq->notif_cfg.answerbox = NULL;
149
    irq->notif_cfg.code = NULL;
150
    irq->notif_cfg.code = NULL;
150
    irq->notif_cfg.method = 0;
151
    irq->notif_cfg.method = 0;
151
    irq->notif_cfg.counter = 0;
152
    irq->notif_cfg.counter = 0;
-
 
153
    link_initialize(&irq->notif_cfg.link);
152
}
154
}
153
 
155
 
154
/** Register IRQ for device.
156
/** Register IRQ for device.
155
 *
157
 *
156
 * The irq structure must be filled with information
158
 * The irq structure must be filled with information