Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030827AbWI0VF2 (ORCPT ); Wed, 27 Sep 2006 17:05:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030849AbWI0VF2 (ORCPT ); Wed, 27 Sep 2006 17:05:28 -0400 Received: from post-24.mail.nl.demon.net ([194.159.73.194]:1751 "EHLO post-24.mail.nl.demon.net") by vger.kernel.org with ESMTP id S1030827AbWI0VF1 (ORCPT ); Wed, 27 Sep 2006 17:05:27 -0400 Message-ID: <451AE795.6030804@rebelhomicide.demon.nl> Date: Wed, 27 Sep 2006 23:05:25 +0200 From: Michiel de Boer User-Agent: Thunderbird 1.5.0.7 (X11/20060915) MIME-Version: 1.0 To: gregkh@suse.de CC: linux-kernel@vger.kernel.org Subject: [PATCH] Chipset addition for the VIA Southbridge workaround / quirk Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2800 Lines: 59 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 , for showing me the way around in the kernel sources. Signed-off-by: Michiel Lieuwe de Boer 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 - 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/