Hi,

Could people experiencing problems with their hdsp (namely Tim and Paul) try the attached patch ?

Thanks,
Thomas
--- hdsp.c.old  2004-01-26 14:34:48.000000000 +0100
+++ hdsp.c      2004-01-26 14:51:18.000000000 +0100
@@ -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 Björnsen :
+           "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");
 

Reply via email to