Changeset 6cd9aa6 in mainline for kernel/generic/src/ddi/irq.c
- Timestamp:
- 2009-02-15T23:13:55Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 17f168e
- Parents:
- fa09449
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ddi/irq.c
rfa09449 r6cd9aa6 40 40 * This code is designed to support: 41 41 * - multiple devices sharing single IRQ 42 * - multiple IRQs per signle device 42 * - multiple IRQs per single device 43 * - multiple instances of the same device 43 44 * 44 45 * … … 145 146 irq->claim = NULL; 146 147 irq->handler = NULL; 147 irq-> arg= NULL;148 irq->instance = NULL; 148 149 irq->cir = NULL; 149 150 irq->cir_arg = NULL; … … 307 308 if (devno == -1) { 308 309 /* Invoked by irq_dispatch_and_lock(). */ 309 rv = ((irq->inr == inr) && (irq->claim() == IRQ_ACCEPT)); 310 rv = ((irq->inr == inr) && 311 (irq->claim(irq->instance) == IRQ_ACCEPT)); 310 312 } else { 311 313 /* Invoked by irq_find_and_lock(). */ … … 366 368 if (devno == -1) { 367 369 /* Invoked by irq_dispatch_and_lock() */ 368 rv = (irq->claim( ) == IRQ_ACCEPT);370 rv = (irq->claim(irq->instance) == IRQ_ACCEPT); 369 371 } else { 370 372 /* Invoked by irq_find_and_lock() */
Note:
See TracChangeset
for help on using the changeset viewer.