From: Andre Hedrick <andre@linux-ide.org>
To: Dan Hollis <goemon@anime.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: via udma100 fix
Date: Mon, 16 Apr 2001 09:50:40 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.10.10104160950000.19043-200000@master.linux-ide.org> (raw)
In-Reply-To: <Pine.LNX.4.30.0104160332110.22251-100000@anime.net>
[-- Attachment #1: Type: text/plain, Size: 767 bytes --]
On Mon, 16 Apr 2001, Dan Hollis wrote:
> I don't know if anyone noticed, but the supposed udma100 fix has been
> posted here:
>
> http://www.viahardware.com/download/viatweak.shtm
>
> At the bottom of the page.
>
> Technical discussion of the workaround (in german):
> http://home.tiscalinet.de/au-ja/review-kt133a-4.html
>
> -Dan
Hi Dan,
This was sent to me the other day, is this waht you are talking about?
Cheers,
Andre Hedrick
Linux ATA Development
ASL Kernel Development
-----------------------------------------------------------------------------
ASL, Inc. Toll free: 1-877-ASL-3535
1757 Houret Court Fax: 1-408-941-2071
Milpitas, CA 95035 Web: www.aslab.com
[-- Attachment #2: Type: text/plain, Size: 1532 bytes --]
--- linux-2.4.3/drivers/pci/quirks.c.kicker Sun Apr 15 20:38:42 2001
+++ linux-2.4.3/drivers/pci/quirks.c Sun Apr 15 21:20:49 2001
@@ -85,6 +85,29 @@
}
/*
+ * VIA Apollo KT133 needs PCI latency patch
+ * Made according to a windows driver based patch by George E. Breese
+ * see PCI Latency Adjust on http://www.viahardware.com/download/viatweak.shtm
+ */
+static void __init quirk_vialatency(struct pci_dev *dev)
+{
+ u8 r70;
+
+ printk(KERN_INFO "Applying VIA PCI latency patch.\n");
+ /*
+ * In register 0x70, mask off bit 2 (PCI Master read caching)
+ * and 1 (Delay Transaction)
+ */
+ pci_read_config_byte(dev, 0x70, &r70);
+ r70 &= 0xf9;
+ pci_write_config_byte(dev, 0x70, r70);
+ /*
+ * Turn off PCI Latency timeout (set to 0 clocks)
+ */
+ pci_write_config_byte(dev, 0x75, 0x80);
+}
+
+/*
* VIA Apollo VP3 needs ETBF on BT848/878
*/
@@ -275,6 +298,7 @@
{ PCI_FIXUP_FINAL, PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82443BX_2, quirk_natoma },
{ PCI_FIXUP_FINAL, PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_5597, quirk_nopcipci },
{ PCI_FIXUP_FINAL, PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_496, quirk_nopcipci },
+ { PCI_FIXUP_FINAL, PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8363_0, quirk_vialatency },
{ PCI_FIXUP_FINAL, PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C597_0, quirk_viaetbf },
{ PCI_FIXUP_HEADER, PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C597_0, quirk_vt82c598_id },
{ PCI_FIXUP_HEADER, PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_3, quirk_vt82c586_acpi },
next prev parent reply other threads:[~2001-04-16 16:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-16 10:35 Dan Hollis
2001-04-16 16:50 ` Andre Hedrick [this message]
2001-04-16 19:47 ` Dan Hollis
2001-04-19 14:54 David Balazic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.10.10104160950000.19043-200000@master.linux-ide.org \
--to=andre@linux-ide.org \
--cc=goemon@anime.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®