Changeset 523
- Timestamp:
- Jul 22, 2010, 7:29:34 PM (15 years ago)
- Location:
- GPL/branches/uniaud32-2.1.x
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-2.1.x/alsa-kernel/core/device.c
r399 r523 87 87 /* unlink */ 88 88 list_del(&dev->list); 89 if (dev->state == SNDRV_DEV_REGISTERED && 90 dev->ops->dev_disconnect) 89 if (dev->state == SNDRV_DEV_REGISTERED && dev->ops->dev_disconnect) { 91 90 if (dev->ops->dev_disconnect(dev)) 92 snd_printk(KERN_ERR 93 "device disconnect failure\n");91 snd_printk(KERN_ERR "device disconnect failure\n"); 92 } 94 93 if (dev->ops->dev_free) { 95 94 if (dev->ops->dev_free(dev)) -
GPL/branches/uniaud32-2.1.x/alsa-kernel/include/sound/config.h
r499 r523 84 84 #define CONFIG_PM 85 85 #define CONFIG_PROC_FS 86 #ifdef DEBUG 86 87 #define CONFIG_SND_DEBUG_DETECT 87 88 #define CONFIG_SND_DEBUG_VERBOSE 89 #endif 88 90 #define CONFIG_SND_DMA_SGBUF 89 91 #define CONFIG_SND_HDA_CODEC_ANALOG -
GPL/branches/uniaud32-2.1.x/alsa-kernel/pci/emu10k1/memory.c
r519 r523 304 304 if (snd_BUG_ON(!emu)) 305 305 return NULL; 306 if (snd_BUG_ON(runtime->dma_bytes == 0 || 306 if (snd_BUG_ON(runtime->dma_bytes == 0 || /* DAZ was unsigned <= 0 */ 307 307 runtime->dma_bytes >= MAXPAGES * EMUPAGESIZE)) 308 308 return NULL; -
GPL/branches/uniaud32-2.1.x/alsa-kernel/pci/hda/hda_hwdep.c
r499 r523 100 100 { 101 101 #ifndef CONFIG_SND_DEBUG_VERBOSE 102 if (!capable(CAP_SYS_RAWIO))103 return -EACCES;102 // if (!capable(CAP_SYS_RAWIO)) 103 // return -EACCES; 104 104 #endif 105 105 return 0; -
GPL/branches/uniaud32-2.1.x/drv32/strategy.c
r519 r523 70 70 RPInit __far* rp = (RPInit __far*)_rp; 71 71 rc = DiscardableInit(rp); 72 dprintf(("StratInit End rc=%d", rc));72 //dprintf(("StratInit End rc=%d", rc)); 73 73 return rc; 74 74 } … … 119 119 #endif 120 120 //PS++ End 121 dprintf(("StratInitComplete"));122 121 //dprintf(("StratInitComplete")); 122 return(RPDONE); 123 123 } 124 124 //****************************************************************************** … … 130 130 RPShutdown __far *rp = (RPShutdown __far *)_rp; 131 131 132 dprintf(("StratShutdown Start%d", rp->Function));132 //dprintf(("StratShutdown %d", rp->Function)); 133 133 if(rp->Function == 1) {//end of shutdown 134 134 OSS32_Shutdown(); 135 135 } 136 dprintf(("StratShutdown End")); 137 return(RPDONE); 136 return(RPDONE); 138 137 } 139 138 //****************************************************************************** -
GPL/branches/uniaud32-2.1.x/include/dbgos2.h
r519 r523 32 32 extern int wrOffset; 33 33 extern char *szprintBuf; 34 //void _cdecl DPE(char *x, ...) ; /* not debugging: nothing */35 34 int _cdecl printk(const char * fmt, ...); 36 35 #ifdef __cplusplus -
GPL/branches/uniaud32-2.1.x/lib32/misc.c
r519 r523 269 269 void flush_workqueue(struct workqueue_struct *wq) 270 270 { 271 short sDAZ; 272 271 273 if (wq->task == current) { 272 274 run_workqueue(wq); … … 278 280 spin_lock_irq(&wq->lock); 279 281 add_wait_queue(&wq->work_done, &wait); 282 sDAZ = 0; 280 283 while (!list_empty(&wq->worklist)) { 284 if (sDAZ++ > 20) { // Temporary hack to prevent system hangs 285 rprintf(("flush_workqueue: can't empty list")); 286 break; 287 } 281 288 spin_unlock_irq(&wq->lock); 282 schedule(); 289 schedule(); // DAZ system hangs here because this function does nothing 283 290 spin_lock_irq(&wq->lock); 284 291 } -
GPL/branches/uniaud32-2.1.x/lib32/ossidc.cpp
r519 r523 162 162 FillCaps(i); 163 163 } 164 dprintf(("OSS32_Initialize: SUCCESS. Cards=%d", nrCardsDetected));164 rprintf(("OSS32_Initialize: SUCCESS. Cards=%d", nrCardsDetected)); 165 165 return OSSERR_SUCCESS; 166 166 } … … 173 173 OSSRET OSS32_Shutdown() 174 174 { 175 dprintf(("OSS32_Shutdown 1"));176 175 CallOSS16(IDC16_EXIT, 0, 0); 177 dprintf(("OSS32_Shutdown 2"));178 176 179 177 for(int i=0;i<nrCardsDetected;i++) { … … 181 179 } 182 180 183 dprintf(("OSS32_Shutdown 3"));184 181 call_module_exit(alsa_mpu401_uart_exit); 185 dprintf(("OSS32_Shutdown 4"));186 182 call_module_exit(alsa_opl3_seq_exit); 187 dprintf(("OSS32_Shutdown 5"));188 183 call_module_exit(alsa_opl3_exit); 189 dprintf(("OSS32_Shutdown 6"));190 184 call_module_exit(alsa_seq_exit); 191 dprintf(("OSS32_Shutdown 7"));192 185 call_module_exit(alsa_rawmidi_exit); 193 dprintf(("OSS32_Shutdown 8"));194 186 call_module_exit(alsa_timer_exit); 195 dprintf(("OSS32_Shutdown 9"));196 187 call_module_exit(alsa_hwdep_exit); 197 dprintf(("OSS32_Shutdown 10"));198 188 call_module_exit(alsa_pcm_exit); 199 dprintf(("OSS32_Shutdown 11"));200 189 call_module_exit(alsa_sound_exit); 201 dprintf(("OSS32_Shutdown 12"));202 190 203 191 return OSSERR_SUCCESS; -
GPL/branches/uniaud32-2.1.x/lib32/pci.c
r519 r523 547 547 { 548 548 struct pci_dev *pcidev; 549 int i = 0, j; 550 551 while(driver->id_table[i].vendor) 552 { 553 for(j=0;j<MAX_PCI_DEVICES;j++) 554 { 555 if(pci_devices[j].vendor == driver->id_table[i].vendor && 556 pci_devices[j].device == driver->id_table[i].device) 557 { 558 if(driver->remove) { 559 driver->remove(&pci_devices[j]); 560 } 561 } 562 } 563 i++; 549 int i, j; 550 551 for (i=0; driver->id_table[i].vendor; i++) { 552 for(j=0; j<MAX_PCI_DEVICES; j++) { 553 pcidev = &pci_devices[j]; 554 if (pcidev->devfn == 0) continue; 555 if(pcidev->vendor != driver->id_table[i].vendor) continue; 556 if ( (driver->id_table[i].device != PCI_ANY_ID) && (pcidev->device != driver->id_table[i].device) ) continue; 557 dprintf(("pci unreg match: %x:%x %x:%x", pci_devices[j].vendor, pci_devices[j].device, driver->id_table[i].vendor, driver->id_table[i].device)); 558 if(!driver->remove) continue; 559 driver->remove(pcidev); 560 } 564 561 } 565 562 return 0; -
GPL/branches/uniaud32-2.1.x/uniaud.inc
r519 r523 13 13 # ex RC3 GA FIXPACK2 beta_47 14 14 # Comment out to avoid a fixpack line in bldlevel 15 FIXPACK = BETA SVNr5 1915 FIXPACK = BETA SVNr523 16 16 17 17 # ALSA BUILD VERSION
Note:
See TracChangeset
for help on using the changeset viewer.