[i2c] [patch 1/1] i2c-i801: SMBus patch for Intel Ibex Peak DeviceIDs

Jean Delvare khali at linux-fr.org
Thu Aug 21 09:05:29 CEST 2008


On Wed, 20 Aug 2008 23:55:41 -0700, Andrew Morton wrote:
> On Thu, 21 Aug 2008 08:44:46 +0200 Jean Delvare <khali at linux-fr.org> wrote:
> 
> > Hi Andrew,
> > 
> > On Wed, 20 Aug 2008 16:45:26 -0700, akpm at linux-foundation.org wrote:
> > > From: Seth Heasley <seth.heasley at intel.com>
> > > 
> > > Add the Intel Ibex Peak (PCH) SMBus Controller DeviceIDs.
> > > 
> > > Signed-off-by: Seth Heasley <seth.heasley at intel.com>
> > > Cc: Jean Delvare <khali at linux-fr.org>
> > > Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
> > > ---
> > > 
> > >  drivers/i2c/busses/Kconfig    |    1 +
> > >  drivers/i2c/busses/i2c-i801.c |    3 +++
> > >  2 files changed, 4 insertions(+)
> > 
> > I have this patch in my tree already, but I can't export it, because it
> > depends on a pci_ids.h patch which is not yet in Linus' tree.
> 
> Sigh.
> 
> > > 
> > > diff -puN drivers/i2c/busses/Kconfig~i2c-i801-smbus-patch-for-intel-ibex-peak-deviceids drivers/i2c/busses/Kconfig
> > > --- a/drivers/i2c/busses/Kconfig~i2c-i801-smbus-patch-for-intel-ibex-peak-deviceids
> > > +++ a/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 -puN drivers/i2c/busses/i2c-i801.c~i2c-i801-smbus-patch-for-intel-ibex-peak-deviceids drivers/i2c/busses/i2c-i801.c
> > > --- a/drivers/i2c/busses/i2c-i801.c~i2c-i801-smbus-patch-for-intel-ibex-peak-deviceids
> > > +++ a/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_2) },
> > >  	{ 0, }
> > >  };
> > >  
> > > @@ -599,6 +601,7 @@ static int __devinit i801_probe(struct p
> > >  	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:
> > > _
> 
> Are you sure?  PCI_DEVICE_ID_INTEL_PCH_2 is there in 2.6.27-rc4.

Ah, must have happened overnight, it wasn't there yesterday. I'll
resync my tree now.

-- 
Jean Delvare



More information about the i2c mailing list