[i2c] [PATCH] i2c-piix4: Add support for the ATI SB600

Jean Delvare khali at linux-fr.org
Fri Dec 22 21:28:47 CET 2006


Add support for the ATI SB600 SMBus controller.

Signed-off-by: Jean Delvare <khali at linux-fr.org>
---
 Documentation/i2c/busses/i2c-piix4 |    2 +-
 drivers/i2c/busses/Kconfig         |    1 +
 drivers/i2c/busses/i2c-piix4.c     |    3 +++
 include/linux/pci_ids.h            |    1 +
 4 files changed, 6 insertions(+), 1 deletion(-)

--- linux-2.6.20-rc1.orig/Documentation/i2c/busses/i2c-piix4	2006-11-30 21:14:19.000000000 +0100
+++ linux-2.6.20-rc1/Documentation/i2c/busses/i2c-piix4	2006-12-22 19:12:51.000000000 +0100
@@ -6,7 +6,7 @@ Supported adapters:
     Datasheet: Publicly available at the Intel website
   * ServerWorks OSB4, CSB5, CSB6 and HT-1000 southbridges
     Datasheet: Only available via NDA from ServerWorks
-  * ATI IXP southbridges IXP200, IXP300, IXP400
+  * ATI IXP200, IXP300, IXP400 and SB600 southbridges
     Datasheet: Not publicly available
   * Standard Microsystems (SMSC) SLC90E66 (Victory66) southbridge
     Datasheet: Publicly available at the SMSC website http://www.smsc.com
--- linux-2.6.20-rc1.orig/drivers/i2c/busses/i2c-piix4.c	2006-12-22 09:09:59.000000000 +0100
+++ linux-2.6.20-rc1/drivers/i2c/busses/i2c-piix4.c	2006-12-22 21:22:28.000000000 +0100
@@ -23,6 +23,7 @@
    Supports:
 	Intel PIIX4, 440MX
 	Serverworks OSB4, CSB5, CSB6, HT-1000
+	ATI IXP200, IXP300, IXP400, SB600
 	SMSC Victory66
 
    Note: we assume there can only be one device, with one SMBus interface.
@@ -396,6 +397,8 @@ static struct pci_device_id piix4_ids[] 
 	  .driver_data = 0 },
 	{ PCI_DEVICE(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP400_SMBUS),
 	  .driver_data = 0 },
+	{ PCI_DEVICE(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP600_SMBUS),
+	  .driver_data = 0 },
 	{ PCI_DEVICE(PCI_VENDOR_ID_SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_OSB4),
 	  .driver_data = 0 },
 	{ PCI_DEVICE(PCI_VENDOR_ID_SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_CSB5),
--- linux-2.6.20-rc1.orig/include/linux/pci_ids.h	2006-12-22 09:11:19.000000000 +0100
+++ linux-2.6.20-rc1/include/linux/pci_ids.h	2006-12-22 19:16:02.000000000 +0100
@@ -366,6 +366,7 @@
 #define PCI_DEVICE_ID_ATI_IXP400_SATA2	0x437a
 #define PCI_DEVICE_ID_ATI_IXP600_SATA	0x4380
 #define PCI_DEVICE_ID_ATI_IXP600_SRAID	0x4381
+#define PCI_DEVICE_ID_ATI_IXP600_SMBUS	0x4385
 #define PCI_DEVICE_ID_ATI_IXP600_IDE	0x438c
 
 #define PCI_VENDOR_ID_VLSI		0x1004
--- linux-2.6.20-rc1.orig/drivers/i2c/busses/Kconfig	2006-12-22 09:17:28.000000000 +0100
+++ linux-2.6.20-rc1/drivers/i2c/busses/Kconfig	2006-12-22 19:13:36.000000000 +0100
@@ -183,6 +183,7 @@ config I2C_PIIX4
 	    ATI IXP200
 	    ATI IXP300
 	    ATI IXP400
+	    ATI SB600
 	    Serverworks OSB4
 	    Serverworks CSB5
 	    Serverworks CSB6


-- 
Jean Delvare



More information about the i2c mailing list