Changeset 421 for GPL/branches/uniaud32-2.0/drv32/strategy.c
- Timestamp:
- Mar 23, 2009, 9:13:00 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-2.0/drv32/strategy.c
r84 r421 77 77 //****************************************************************************** 78 78 // External initialization complete entry-point 79 #ifdef ACPI 80 // See desription in irq.cpp 81 #include "irqos2.h" //PS+++ 82 #ifdef __cplusplus 83 extern "C" { 84 #endif 85 ULONG InitCompleteWas = 0; //PS+++ Indication of InitComplete call 86 struct SaveIRQForSlot 87 { 88 ULONG ulSlotNo; 89 BYTE LowIRQ; 90 BYTE HighIRQ; 91 BYTE Pin; 92 }; 93 extern struct SaveIRQForSlot sISRHigh[]; 94 extern int SaveIRQCounter; 95 #ifdef __cplusplus 96 } 97 #endif 98 #endif //ACPI 79 99 //****************************************************************************** 80 100 #pragma off (unreferenced) … … 82 102 #pragma on (unreferenced) 83 103 { 104 #ifdef ACPI 105 //PS+++ Begin 106 ULONG i, rc = 0; 107 108 InitCompleteWas = 1; 109 110 for (i = 0; i < SaveIRQCounter; i++) 111 { 112 dprintf(("Close IRQ%d - Open IRQ%d",(ULONG)sISRHigh[i].LowIRQ,(ULONG)sISRHigh[i].HighIRQ)); 113 if (sISRHigh[i].HighIRQ) 114 { 115 ALSA_FreeIrq(sISRHigh[i].LowIRQ); 116 if (!ALSA_SetIrq(sISRHigh[i].HighIRQ, sISRHigh[i].ulSlotNo, 1)) 117 { 118 return (RPERR_COMMAND | RPDONE); 119 } 120 } 121 } 122 #endif 123 //PS++ End 84 124 #ifdef DEBUG 85 125 dprintf(("StratInitComplete"));
Note:
See TracChangeset
for help on using the changeset viewer.