[i2c] [PATCH] add the SMBus device ID for ATI SB700

gmail_ati henry.su.ati at gmail.com
Mon May 14 16:43:38 CEST 2007


From: henry.su.ati at gmail.com
add the SMBUS device id for ATI SB700.
Signed-off-by: Luugi Marsan <luugi.marsan at amd.com>
-----------------------------------------------------
diff -Nur linux-2.6.21.1.org/include/linux/pci_ids.h linux-2.6.21.1/include/linux/pci_ids.h
--- linux-2.6.21.1.org/include/linux/pci_ids.h 2007-05-13 04:45:39.000000000 +0800
+++ linux-2.6.21.1/include/linux/pci_ids.h 2007-05-13 04:51:39.000000000 +0800
@@ -371,6 +371,9 @@
 #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_DEVICE_ID_ATI_IXP700_SATA 0x4390
+#define PCI_DEVICE_ID_ATI_IXP700_SMBUS 0x4395
+#define PCI_DEVICE_ID_ATI_IXP700_IDE 0x439c
 
 #define PCI_VENDOR_ID_VLSI  0x1004
 #define PCI_DEVICE_ID_VLSI_82C592 0x0005

diff -Nur linux-2.6.21.1.org/drivers/i2c/busses/i2c-piix4.c linux-2.6.21.1/drivers/i2c/busses/i2c-piix4.c
--- linux-2.6.21.1.org/drivers/i2c/busses/i2c-piix4.c 2007-05-13 04:46:37.000000000 +0800
+++ linux-2.6.21.1/drivers/i2c/busses/i2c-piix4.c 2007-05-13 05:03:54.000000000 +0800
@@ -23,7 +23,7 @@
    Supports:
  Intel PIIX4, 440MX
  Serverworks OSB4, CSB5, CSB6, HT-1000
- ATI IXP200, IXP300, IXP400, SB600
+ ATI IXP200, IXP300, IXP400, SB600, SB700
  SMSC Victory66
 
    Note: we assume there can only be one device, with one SMBus interface.
@@ -399,6 +399,8 @@
    .driver_data = 0 },
  { PCI_DEVICE(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP600_SMBUS),
    .driver_data = 0 },
+ { PCI_DEVICE(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP700_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),


More information about the i2c mailing list