]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.31/patches.drivers/intel-ibex-peak-device-support.patch
Reenabled linux-xen, added patches for Xen Kernel Version 2.6.27.31,
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.drivers / intel-ibex-peak-device-support.patch
diff --git a/src/patches/suse-2.6.27.31/patches.drivers/intel-ibex-peak-device-support.patch b/src/patches/suse-2.6.27.31/patches.drivers/intel-ibex-peak-device-support.patch
new file mode 100644 (file)
index 0000000..eb8bd0e
--- /dev/null
@@ -0,0 +1,81 @@
+From: Seth Heasley <seth.heasley@intel.com>
+Date: Wed, 22 Oct 2008 18:21:29 +0000 (+0200)
+Subject: i2c-i801: Add support for Intel Ibex Peak
+X-Git-Tag: v2.6.28-rc1~32^2~14
+X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=c429a247f56d277f12eaffd6525922353e9539a5
+References: bnc#415383
+
+i2c-i801: Add support for Intel Ibex Peak
+
+Adds the Intel Ibex Peak (PCH) SMBus Controller Device IDs.
+
+Signed-off-by: Seth Heasley <seth.heasley@intel.com>
+Signed-off-by: Jean Delvare <khali@linux-fr.org>
+Acked-by: John Jolly <jjolly@suse.de>
+---
+
+diff --git a/Documentation/i2c/busses/i2c-i801 b/Documentation/i2c/busses/i2c-i801
+index c31e029..81c0c59 100644
+--- a/Documentation/i2c/busses/i2c-i801
++++ b/Documentation/i2c/busses/i2c-i801
+@@ -13,8 +13,9 @@ Supported adapters:
+   * Intel 631xESB/632xESB (ESB2)
+   * Intel 82801H (ICH8)
+   * Intel 82801I (ICH9)
+-  * Intel Tolapai
+-  * Intel ICH10
++  * Intel EP80579 (Tolapai)
++  * Intel 82801JI (ICH10)
++  * Intel PCH
+    Datasheets: Publicly available at the Intel website
+ Authors: 
+@@ -32,7 +33,7 @@ Description
+ -----------
+ The ICH (properly known as the 82801AA), ICH0 (82801AB), ICH2 (82801BA),
+-ICH3 (82801CA/CAM) and later devices are Intel chips that are a part of
++ICH3 (82801CA/CAM) and later devices (PCH) are Intel chips that are a part of
+ Intel's '810' chipset for Celeron-based PCs, '810E' chipset for
+ Pentium-based PCs, '815E' chipset, and others.
+diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
+index acadbc5..7f95905 100644
+--- a/drivers/i2c/busses/Kconfig
++++ b/drivers/i2c/busses/Kconfig
+@@ -97,6 +97,7 @@ config I2C_I801
+           ICH9
+           Tolapai
+           ICH10
++          PCH
+         This driver can also be built as a module.  If so, the module
+         will be called i2c-i801.
+diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c
+index dc7ea32..5123eb6 100644
+--- a/drivers/i2c/busses/i2c-i801.c
++++ b/drivers/i2c/busses/i2c-i801.c
+@@ -41,6 +41,7 @@
+   Tolapai               0x5032     32     hard     yes     yes     yes
+   ICH10                 0x3a30     32     hard     yes     yes     yes
+   ICH10                 0x3a60     32     hard     yes     yes     yes
++  PCH                   0x3b30     32     hard     yes     yes     yes
+   Features supported by this driver:
+   Software PEC                     no
+@@ -576,6 +577,7 @@ static struct pci_device_id i801_ids[] = {
+       { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_TOLAPAI_1) },
+       { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH10_4) },
+       { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH10_5) },
++      { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_PCH_SMBUS) },
+       { 0, }
+ };
+@@ -599,6 +601,7 @@ static int __devinit i801_probe(struct pci_dev *dev, const struct pci_device_id
+       case PCI_DEVICE_ID_INTEL_TOLAPAI_1:
+       case PCI_DEVICE_ID_INTEL_ICH10_4:
+       case PCI_DEVICE_ID_INTEL_ICH10_5:
++      case PCI_DEVICE_ID_INTEL_PCH_SMBUS:
+               i801_features |= FEATURE_I2C_BLOCK_READ;
+               /* fall through */
+       case PCI_DEVICE_ID_INTEL_82801DB_3: