All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Chipset addition for the VIA Southbridge workaround / quirk
@ 2006-09-27 21:05 Michiel de Boer
  2006-09-27 21:44 ` Lee Revell
  2006-09-28  0:01 ` Andrew Morton
  0 siblings, 2 replies; 8+ messages in thread
From: Michiel de Boer @ 2006-09-27 21:05 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel

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/
     http://www.realworldtech.com/page.cfm?ArticleID=RWT051401003409
     http://www.tecchannel.de/ueberblick/archiv/401770/
[2] http://www.kanotix.com

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

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 @@
 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_VIA,     
PCI_DEVICE_ID_VIA_8363_0,       quirk_vialatency );
 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_VIA,     
PCI_DEVICE_ID_VIA_8371_1,       quirk_vialatency );
 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_VIA,     
PCI_DEVICE_ID_VIA_8361,         quirk_vialatency );
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_VIA,     
PCI_DEVICE_ID_VIA_82C691_0,     quirk_vialatency );

 /*
  *     VIA Apollo VP3 needs ETBF on BT848/878


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-09-29 16:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <fa.a5JNkmioXw5Nk7TL3per32bVULU@ifi.uio.no>
     [not found] ` <fa.26gtk6nrxcQoI9Era+0RigHE+Ug@ifi.uio.no>
2006-09-28  2:11   ` [PATCH] Chipset addition for the VIA Southbridge workaround / quirk Robert Hancock
2006-09-28 13:51     ` Sergio Monteiro Basto
2006-09-29 16:00     ` Michiel de Boer
2006-09-27 21:05 Michiel de Boer
2006-09-27 21:44 ` Lee Revell
2006-09-27 22:35   ` Michiel de Boer
2006-09-27 22:59     ` Lee Revell
2006-09-28  0:01 ` Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.