From: Michal Semler <cijoml@volny.cz>
To: linux-kernel@vger.kernel.org
Subject: workaround for buggy BIOSes and i845 chipsets
Date: Wed, 24 Jul 2002 02:14:06 +0200 [thread overview]
Message-ID: <E17X9n7-0000SV-00@notas> (raw)
Hello,
Vojtech Pavlik helped me to workaround this issue. This patch is backport
from 2.5 to 2.4 and is applicable into 2.4.19-rc3. Maybe somebody will need
it too. It works correctly on my system.
Michal
Patch:
--- linux/drivers/pci/quirks.c Sat Jul 20 11:08:15 2002
+++ linux/drivers/pci/quirks.c Tue Jul 23 14:51:43 2002
@@ -471,6 +471,15 @@
r -> end = 0xffffff;
}
+static void __init quirk_ide_trash(struct pci_dev *dev)
+{
+ int i;
+ for(i = 0; i < 4; i++)
+ dev->resource[i].start = dev->resource[i].end =
dev->resource[i].flags = 0;
+}
+
+#define PCI_DEVICE_ID_INTEL_82801DB_9 0x24cb
+
/*
* The main table of quirks.
*/
@@ -498,6 +507,9 @@
{ PCI_FIXUP_FINAL, PCI_VENDOR_ID_INTEL,
PCI_DEVICE_ID_INTEL_82443BX_0, quirk_natoma },
{ PCI_FIXUP_FINAL, PCI_VENDOR_ID_INTEL,
PCI_DEVICE_ID_INTEL_82443BX_1, quirk_natoma },
{ PCI_FIXUP_FINAL, PCI_VENDOR_ID_INTEL,
PCI_DEVICE_ID_INTEL_82443BX_2, quirk_natoma },
+ { PCI_FIXUP_HEADER, PCI_VENDOR_ID_INTEL,
PCI_DEVICE_ID_INTEL_82801CA_10, quirk_ide_trash },
+ { PCI_FIXUP_HEADER, PCI_VENDOR_ID_INTEL,
PCI_DEVICE_ID_INTEL_82801CA_11, quirk_ide_trash },
+ { PCI_FIXUP_HEADER, PCI_VENDOR_ID_INTEL,
PCI_DEVICE_ID_INTEL_82801DB_9, quirk_ide_trash },
{ 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 },
next reply other threads:[~2002-07-24 0:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-24 0:14 Michal Semler [this message]
2002-07-24 2:59 ` workaround for buggy BIOSes and i845 chipsets Andre Hedrick
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=E17X9n7-0000SV-00@notas \
--to=cijoml@volny.cz \
--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;
as well as URLs for NNTP newsgroup(s).