[PATCH] 2.4.1 ISA DMA hang on ALi15x3

From: Andreas Tscharner (starfire@dplanet.ch)
Date: Sat Mar 03 2001 - 04:21:06 EST


Hello World,

This little patch enables the workaround for the ISA DMA bug on ALi15x3
chipsets with the PCI-ISA bridge. The patch was originally written by
Angelo Di Filippo <adifilip@ubiquity.it> for Kernel 2.3.45. I adapted it to
Kernel 2.4.1.

This chipset can be found in many laptops of the Acer Extensa series, and
the bug prevents the sound chip (an OPL3/SA2) from working.

--- drivers/pci/quirks.c.orig Fri Mar 2 17:40:45 2001
+++ drivers/pci/quirks.c Fri Mar 2 16:10:35 2001
@@ -261,6 +261,7 @@
        { PCI_FIXUP_FINAL, PCI_VENDOR_ID_VIA,
PCI_DEVICE_ID_VIA_82C586_0, quirk_isa_dma_hangs },
        { PCI_FIXUP_FINAL, PCI_VENDOR_ID_VIA,
PCI_DEVICE_ID_VIA_82C596, quirk_isa_dma_hangs },
        { PCI_FIXUP_FINAL, PCI_VENDOR_ID_INTEL,
PCI_DEVICE_ID_INTEL_82371SB_0, quirk_isa_dma_hangs },
+ { PCI_FIXUP_FINAL, PCI_VENDOR_ID_AL,
PCI_DEVICE_ID_AL_M1533, quirk_isa_dma_hangs },
        { PCI_FIXUP_HEADER, PCI_VENDOR_ID_S3,
PCI_DEVICE_ID_S3_868, quirk_s3_64M },
        { PCI_FIXUP_HEADER, PCI_VENDOR_ID_S3,
PCI_DEVICE_ID_S3_968, quirk_s3_64M },
        { PCI_FIXUP_FINAL, PCI_VENDOR_ID_INTEL,
PCI_DEVICE_ID_INTEL_82437, quirk_triton },

The patch is also attached in case my mailtool kills the format (I don't
hope it does)

Best regards
        Andreas

-- 
Andreas Tscharner                                     starfire@dplanet.ch
-------------------------------------------------------------------------
"Programming today is a race between software engineers striving to build 
bigger and better idiot-proof programs, and the Universe trying to produce 
bigger and better idiots. So far, the Universe is winning." -- Rich Cook 


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Mar 07 2001 - 21:00:14 EST