From: Jon Wikne <wikne@cheetah.uio.no>
To: linux-kernel@vger.kernel.org
Cc: wikne@cheetah.uio.no
Subject: piix.c - previously available patch not implemented
Date: Mon, 05 Mar 2007 19:45:35 +0100 [thread overview]
Message-ID: <45EC654F.7030209@cheetah.uio.no> (raw)
Hi list,
Last year, around 2.6.16.*, there was a patch around that helped
me get the PIIX driver to run with the Intel 82801FBM (ICH6M) chip
on my Toshiba Tecra A3 laptop.
Now, compiling the 2.6.21_rc2 kernel on this machine, to my
astonishment I find that this patch has still not reached the
mainstream kernel.
I do not know whether there might be a good reason for this,
but this patch is essential for me, and most likely others as
well. I include the patch that works for me below, ported and
relative to piix.c version 0.46 taken from the 2.6.21_rc2.
Cheers,
-- Jon Wikne
University of Oslo
diff -u ./linux-2.6.21-rc2/drivers/ide/pci/piix.c% ./linux-2.6.21-rc2/drivers/ide/pci/piix.c
--- ./linux-2.6.21-rc2/drivers/ide/pci/piix.c% 2007-02-28 05:59:12.000000000 +0100
+++ ./linux-2.6.21-rc2/drivers/ide/pci/piix.c 2007-03-05 17:38:13.000000000 +0100
@@ -132,6 +132,7 @@
case PCI_DEVICE_ID_INTEL_82801DB_11:
case PCI_DEVICE_ID_INTEL_82801EB_11:
case PCI_DEVICE_ID_INTEL_ESB_2:
+ case PCI_DEVICE_ID_INTEL_ICH6_5:
case PCI_DEVICE_ID_INTEL_ICH6_19:
case PCI_DEVICE_ID_INTEL_ICH7_21:
case PCI_DEVICE_ID_INTEL_ESB2_18:
@@ -421,6 +422,7 @@
case PCI_DEVICE_ID_INTEL_82801EB_11:
case PCI_DEVICE_ID_INTEL_82801E_11:
case PCI_DEVICE_ID_INTEL_ESB_2:
+ case PCI_DEVICE_ID_INTEL_ICH6_5:
case PCI_DEVICE_ID_INTEL_ICH6_19:
case PCI_DEVICE_ID_INTEL_ICH7_21:
case PCI_DEVICE_ID_INTEL_ESB2_18:
@@ -598,6 +600,7 @@
/* 22 */ DECLARE_PIIX_DEV("ICH4"),
/* 23 */ DECLARE_PIIX_DEV("ESB2"),
/* 24 */ DECLARE_PIIX_DEV("ICH8M"),
+ /* 25 */ DECLARE_PIIX_DEV("ICH6M"),
};
/**
@@ -675,6 +678,7 @@
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801DB_1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 22},
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ESB2_18, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 23},
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH8_6, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 24},
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH6_5, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 25},
{ 0, },
};
MODULE_DEVICE_TABLE(pci, piix_pci_tbl);
diff -u ./linux-2.6.21-rc2/include/linux/pci_ids.h% ./linux-2.6.21-rc2/include/linux/pci_ids.h
--- ./linux-2.6.21-rc2/include/linux/pci_ids.h% 2007-02-28 05:59:12.000000000 +0100
+++ ./linux-2.6.21-rc2/include/linux/pci_ids.h 2007-03-05 17:41:54.000000000 +0100
@@ -2235,6 +2235,7 @@
#define PCI_DEVICE_ID_INTEL_ICH6_0 0x2640
#define PCI_DEVICE_ID_INTEL_ICH6_1 0x2641
#define PCI_DEVICE_ID_INTEL_ICH6_2 0x2642
+#define PCI_DEVICE_ID_INTEL_ICH6_5 0x2653
#define PCI_DEVICE_ID_INTEL_ICH6_16 0x266a
#define PCI_DEVICE_ID_INTEL_ICH6_17 0x266d
#define PCI_DEVICE_ID_INTEL_ICH6_18 0x266e
next reply other threads:[~2007-03-05 18:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-05 18:45 Jon Wikne [this message]
2007-03-05 20:31 ` piix.c - previously available patch not implemented Mark Lord
2007-03-05 20:51 ` Bartlomiej Zolnierkiewicz
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=45EC654F.7030209@cheetah.uio.no \
--to=wikne@cheetah.uio.no \
--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