2001-03-03 09:22:23

by Andreas Tscharner

[permalink] [raw]
Subject: [PATCH] 2.4.1 ISA DMA hang on ALi15x3

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 <[email protected]> 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 [email protected]
-------------------------------------------------------------------------
"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


Attachments:
PCI_ISA_bridge.patch (761.00 B)