2008-08-11 23:58:22

by Seth Heasley

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

Resend with proper whitespace.

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-12 11:58:19

by Jean Delvare

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

On Mon, 11 Aug 2008 17:02:38 -0700, Seth Heasley wrote:
> Resend with proper whitespace.
>
> 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.
>

Looks good, I've added this to my tree. I will have to wait for the PCI
IDs patch to go upstream before I can push it though.


--
Jean Delvare