Update of /cvsroot/alsa/alsa-kernel/pci/rme9652
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16790

Modified Files:
        hdsp.c 
Log Message:
Martin Bjoernsen:

- set the PCI latency timer to 255 for fixing some misbehavior.



Index: hdsp.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/rme9652/hdsp.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- hdsp.c      21 Jan 2004 18:32:48 -0000      1.50
+++ hdsp.c      26 Jan 2004 15:07:31 -0000      1.51
@@ -4982,6 +4982,16 @@
        tasklet_init(&hdsp->midi_tasklet, hdsp_midi_tasklet, (unsigned long)hdsp);
        
        pci_read_config_word(hdsp->pci, PCI_CLASS_REVISION, &hdsp->firmware_rev);
+       
+       /* From Martin Bjoernsen :
+           "It is important that the card's latency timer register in
+           the PCI configuration space is set to a value much larger
+           than 0 by the computer's BIOS or the driver.
+           The windows driver always sets this 8 bit register [...]
+           to its maximum 255 to avoid problems with some computers."
+       */
+       pci_write_config_byte(hdsp->pci, PCI_LATENCY_TIMER, 0xFF);
+       
        strcpy(card->driver, "H-DSP");
        strcpy(card->mixername, "Xilinx FPGA");
 



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to