linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] I2C support for Intel ICH7 - 2.6.10 - resubmit
@ 2005-01-06 17:47 Jason Gaston
  2005-01-11 22:42 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Gaston @ 2005-01-06 17:47 UTC (permalink / raw)
  To: greg; +Cc: linux-kernel, jason.d.gaston

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 <Jason.d.gaston@intel.com>

--- 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [PATCH] I2C: add MODULE_DEVICE_TABLE to via686a.c driver
@ 2005-01-17 21:46 Greg KH
  2005-01-17 21:46 ` [PATCH] I2C support for Intel ICH7 - 2.6.10 - resubmit Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2005-01-17 21:46 UTC (permalink / raw)
  To: linux-kernel, sensors; +Cc: greg

ChangeSet 1.2329.2.1, 2005/01/14 14:41:19-08:00, greg@kroah.com

[PATCH] I2C: add MODULE_DEVICE_TABLE to via686a.c driver

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>


 drivers/i2c/chips/via686a.c |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)


diff -Nru a/drivers/i2c/chips/via686a.c b/drivers/i2c/chips/via686a.c
--- a/drivers/i2c/chips/via686a.c	2005-01-17 13:21:21 -08:00
+++ b/drivers/i2c/chips/via686a.c	2005-01-17 13:21:21 -08:00
@@ -786,14 +786,11 @@
 }
 
 static struct pci_device_id via686a_pci_ids[] = {
-       {
-	       .vendor 		= PCI_VENDOR_ID_VIA, 
-	       .device 		= PCI_DEVICE_ID_VIA_82C686_4, 
-	       .subvendor	= PCI_ANY_ID, 
-	       .subdevice	= PCI_ANY_ID, 
-       },
+       { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C686_4) },
        { 0, }
 };
+
+MODULE_DEVICE_TABLE(pci, via686a_pci_ids);
 
 static int __devinit via686a_pci_probe(struct pci_dev *dev,
                                       const struct pci_device_id *id)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-01-17 21:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-06 17:47 [PATCH] I2C support for Intel ICH7 - 2.6.10 - resubmit Jason Gaston
2005-01-11 22:42 ` Greg KH
2005-01-17 21:46 [PATCH] I2C: add MODULE_DEVICE_TABLE to via686a.c driver Greg KH
2005-01-17 21:46 ` [PATCH] I2C support for Intel ICH7 - 2.6.10 - resubmit Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).