2008-08-08 22:57:44

by Seth Heasley

[permalink] [raw]
Subject: [PATCH 2.6.26.2] i2c-i801: SMBus patch for Intel Ibex Peak DeviceIDs

This patch adds the Intel Ibex Peak (PCH) SMBus Controller DeviceIDs.

Signed-off by: Seth Heasley <[email protected]>

--- linux-2.6.26.2/drivers/i2c/busses/i2c-i801.c.orig 2008-08-08 11:28:08.000000000 -0700
+++ linux-2.6.26.2/drivers/i2c/busses/i2c-i801.c 2008-08-08 11:32:18.000000000 -0700
@@ -43,6 +43,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
@@ -592,6 +593,7 @@
{ 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_2) },
{ 0, }
};

@@ -615,6 +617,7 @@
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_2:
i801_features |= FEATURE_I2C_BLOCK_READ;
/* fall through */
case PCI_DEVICE_ID_INTEL_82801DB_3:
--- linux-2.6.26.2/drivers/i2c/busses/Kconfig.orig 2008-08-08 11:27:52.000000000 -0700
+++ linux-2.6.26.2/drivers/i2c/busses/Kconfig 2008-08-08 11:30:42.000000000 -0700
@@ -182,6 +182,7 @@
ICH9
Tolapai
ICH10
+ PCH

This driver can also be built as a module. If so, the module
will be called i2c-i801.


2008-08-09 14:48:45

by Jean Delvare

[permalink] [raw]
Subject: Re: [PATCH 2.6.26.2] i2c-i801: SMBus patch for Intel Ibex Peak DeviceIDs

Hi Seth,

On Fri, 8 Aug 2008 16:02:28 -0700, Seth Heasley wrote:
> This patch adds the Intel Ibex Peak (PCH) SMBus Controller DeviceIDs.
>
> Signed-off by: Seth Heasley <[email protected]>
>
> --- linux-2.6.26.2/drivers/i2c/busses/i2c-i801.c.orig 2008-08-08 11:28:08.000000000 -0700
> +++ linux-2.6.26.2/drivers/i2c/busses/i2c-i801.c 2008-08-08 11:32:18.000000000 -0700
> @@ -43,6 +43,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
> @@ -592,6 +593,7 @@
> { 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_2) },
> { 0, }
> };
> (...)

Your e-mail client converted all tabs to spaces, so your patch doesn't
apply. Please resend in a way which leaves the patch unmodified, so that I can apply it.

Thanks,
--
Jean Delvare