Changeset 346 for GPL/trunk/lib32/irq.c
- Timestamp:
- Apr 18, 2008, 6:32:11 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/lib32/irq.c
r84 r346 1 /* $Id: irq.c,v 1.1.1.1 2003/07/02 13:57:02 eleph Exp $ */2 1 /* 3 2 * OS/2 implementation of Linux irq kernel services … … 70 69 unsigned long x0, const char *x1, void *x2) 71 70 { 72 IRQ_SLOT *pSlot = FindSlot(irq );71 IRQ_SLOT *pSlot = FindSlot(irq & 0xff); 73 72 unsigned u, uSlotNo = (unsigned)-1; 74 73 if( !pSlot ) … … 96 95 if( pSlot->irqHandlers[u].handler == NULL ) 97 96 { 98 pSlot->irqNo = irq ;97 pSlot->irqNo = irq & 0xff; 99 98 pSlot->irqHandlers[u].handler = handler; 100 99 pSlot->irqHandlers[u].x0 = x0; … … 103 102 104 103 if( pSlot->flHandlers != 0 || 105 ALSA_SetIrq( irq, uSlotNo, (x0 & SA_SHIRQ) != 0) )104 ALSA_SetIrq( irq & 0xff, uSlotNo, (x0 & SA_SHIRQ) != 0) ) 106 105 { 107 106 pSlot->flHandlers |= 1 << u; … … 114 113 } 115 114 116 dprintf(("request_irq: Unable to register irq handler for irq %d\n", irq ));115 dprintf(("request_irq: Unable to register irq handler for irq %d\n", irq & 0xff )); 117 116 return 1; 118 117 } … … 163 162 if( pSlot ) pSlot->fEOI = 1; 164 163 */ 165 eoiIrq[irq ]++;164 eoiIrq[irq & 0xff]++; 166 165 } 167 166
Note:
See TracChangeset
for help on using the changeset viewer.