2005-01-07 00:43:38

by Gaston, Jason D

[permalink] [raw]
Subject: [PATCH] I2C support for Intel ICH7 - 2.6.10 - resubmit

This patch adds the Intel ICH7 DID to the i2c-i801.c driver and adds an entry to Kconfig for I2C(SMBus) support. ?
Note: This patch relies on the already submitted and accepted PATA patch to pci_ids.h containing all ICH7 DID's.
If acceptable, please apply.

Thanks,

Jason Gaston

Signed-off-by: Jason Gaston <[email protected]>

--- linux-2.6.10/drivers/i2c/busses/i2c-i801.c.orig 2004-12-30 05:58:04.000000000 -0800
+++ linux-2.6.10/drivers/i2c/busses/i2c-i801.c 2004-12-30 06:01:35.000000000 -0800
@@ -30,6 +30,7 @@
82801EB 24D3 (HW PEC supported, 32 byte buffer not supported)
6300ESB 25A4
ICH6 266A
+ ICH7 27DA
This driver supports several versions of Intel's I/O Controller Hubs (ICH).
For SMBus support, they are similar to the PIIX4 and are part
of Intel's '810' and other chipsets.
@@ -596,6 +597,12 @@
.subvendor = PCI_ANY_ID,
.subdevice = PCI_ANY_ID,
},
+ {
+ .vendor = PCI_VENDOR_ID_INTEL,
+ .device = PCI_DEVICE_ID_INTEL_ICH7_17,
+ .subvendor = PCI_ANY_ID,
+ .subdevice = PCI_ANY_ID,
+ },
{ 0, }
};

--- linux-2.6.10/drivers/i2c/busses/Kconfig.orig 2004-12-30 06:02:04.000000000 -0800
+++ linux-2.6.10/drivers/i2c/busses/Kconfig 2004-12-30 06:02:39.000000000 -0800
@@ -112,6 +112,7 @@
82801EB
6300ESB
ICH6
+ ICH7

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


2005-01-11 22:44:59

by Greg KH

[permalink] [raw]
Subject: Re: [PATCH] I2C support for Intel ICH7 - 2.6.10 - resubmit

On Thu, Jan 06, 2005 at 09:47:14AM -0800, Jason Gaston wrote:
> This patch adds the Intel ICH7 DID to the i2c-i801.c driver and adds
> an entry to Kconfig for I2C(SMBus) support. ? Note: This patch relies
> on the already submitted and accepted PATA patch to pci_ids.h
> containing all ICH7 DID's.
> If acceptable, please apply.

I rediffed the second part by hand, due to some other changes (pci ids
are better expressed the PCI_DEVICE() macro.) and applied it.

thanks,

greg k-h