[PATCH] Chipset addition for the VIA Southbridge workaround / quirk

From: Michiel de Boer
Date: Wed Sep 27 2006 - 17:05:48 EST

Hi, i'm (maybe unfortunately ;) the owner of a socket 370 motherboard
by DFI. It's type number is CA63-EC REV A+. According to the manual
this is the exact chipset naming:
VIA 82C693A/82C686B AGPset

Also built in is an Creative Labs SB Live! audio device. When i was
still using windows 98, i experienced corruptions when burning DVD's,
and after lengthy investigation i discovered i had a buggy southbridge.[1]
Apparently the presence of the SB Live! audio device might even accelerate
the problem, although it does not actually disappear when this PCI card
is removed. When i moved to Linux, i decided that writing a kernel patch
based on the fixup programs i found for windows 98 would be appropriate.

However, i was pleased to discover that fixup code was already present in
drivers/pci/quirks.c . The only thing i had to do then was add my mother-
board identifier to the bottom of the code. The patch has been tried and
tested since 2.6.8, and since then it has evolved since it turned out it
contained unneccessary code patches. It has also been tested without
problems on the user base of the distro Kanotix[2], of which i'm a
co-developer. It activates as it should when it should, fixes the corrup-
tions i had when burning DVD's, and improves system behavior.
It's a very small and simple patch, but it would spare me from having
to patch the kernel source myself it it were to be included.

Regards, Michiel de Boer

[1] http://www.theregister.co.uk/2001/04/12/datacorruption_bug_hits_via_chipsets/
[2] http://www.kanotix.com

Credit: Stefan Lippers-Hollmann <s.l-h@xxxxxx>, for showing me the way
around in the kernel sources.
Signed-off-by: Michiel Lieuwe de Boer <x@xxxxxxxxxxxxxxxxxxxxxx>

diff -Nru linux-2.6.18.orig/drivers/pci/quirks.c linux-2.6.18/drivers/pci/quirks.c
--- linux-2.6.18.orig/drivers/pci/quirks.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18/drivers/pci/quirks.c 2006-09-27 22:43:30.000000000 +0200
@@ -172,6 +172,7 @@

* VIA Apollo VP3 needs ETBF on BT848/878

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