Sophie

Sophie

distrib > Mageia > 2 > i586 > by-pkgid > 200a8b3e2185ee648e3c27fa2a4b88de > files > 12

kernel-rt-3.4.34-0.rt47.1.mga2.src.rpm

From: James Ralston <james.d.ralston-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Subject: [PATCH 3/5] i2c-i801: Add Device IDs for Intel Wellsburg PCH
Date: Fri,  8 Feb 2013 17:32:15 -0800

This patch adds the SMBus Device IDs for the Intel Wellsburg PCH

Signed-off-by: James Ralston <james.d.ralston-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
---
 Documentation/i2c/busses/i2c-i801 |    1 +
 drivers/i2c/busses/Kconfig        |    1 +
 drivers/i2c/busses/i2c-i801.c     |    3 +++
 3 files changed, 5 insertions(+), 0 deletions(-)

diff -Nurp linux-3.4.32-rc1-mga0.5/Documentation/i2c/busses/i2c-i801 linux-3.4.32-rc1-mga0.5-i2c/Documentation/i2c/busses/i2c-i801
--- linux-3.4.32-rc1-mga0.5/Documentation/i2c/busses/i2c-i801	2013-02-16 16:05:11.427673653 +0200
+++ linux-3.4.32-rc1-mga0.5-i2c/Documentation/i2c/busses/i2c-i801	2013-02-16 22:58:05.412710046 +0200
@@ -22,6 +22,7 @@ Supported adapters:
   * Intel Panther Point (PCH)
   * Intel Lynx Point (PCH)
   * Intel Lynx Point-LP (PCH)
+  * Intel Wellsburg (PCH)
    Datasheets: Publicly available at the Intel website
 
 On Intel Patsburg and later chipsets, both the normal host SMBus controller
diff -Nurp linux-3.4.32-rc1-mga0.5/drivers/i2c/busses/i2c-i801.c linux-3.4.32-rc1-mga0.5-i2c/drivers/i2c/busses/i2c-i801.c
--- linux-3.4.32-rc1-mga0.5/drivers/i2c/busses/i2c-i801.c	2013-02-16 16:05:11.687679461 +0200
+++ linux-3.4.32-rc1-mga0.5-i2c/drivers/i2c/busses/i2c-i801.c	2013-02-16 22:58:05.422710273 +0200
@@ -53,6 +53,7 @@
   Panther Point (PCH)   0x1e22     32     hard     yes     yes     yes
   Lynx Point (PCH)      0x8c22     32     hard     yes     yes     yes
   Lynx Point-LP (PCH)   0x9c22     32     hard     yes     yes     yes
+  Wellsburg (PCH)       0x8d22     32     hard     yes     yes     yes
 
   Features supported by this driver:
   Software PEC                     no
@@ -148,6 +149,7 @@
 #define PCI_DEVICE_ID_INTEL_DH89XXCC_SMBUS	0x2330
 #define PCI_DEVICE_ID_INTEL_5_3400_SERIES_SMBUS	0x3b30
 #define PCI_DEVICE_ID_INTEL_LYNXPOINT_SMBUS	0x8c22
+#define PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS	0x8d22
 #define PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_SMBUS	0x9c22
 
 struct i801_priv {
@@ -639,6 +641,7 @@ static DEFINE_PCI_DEVICE_TABLE(i801_ids)
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_PANTHERPOINT_SMBUS) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_LYNXPOINT_SMBUS) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_SMBUS) },
+	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS) },
 	{ 0, }
 };
 
diff -Nurp linux-3.4.32-rc1-mga0.5/drivers/i2c/busses/Kconfig linux-3.4.32-rc1-mga0.5-i2c/drivers/i2c/busses/Kconfig
--- linux-3.4.32-rc1-mga0.5/drivers/i2c/busses/Kconfig	2013-02-16 16:05:11.687679461 +0200
+++ linux-3.4.32-rc1-mga0.5-i2c/drivers/i2c/busses/Kconfig	2013-02-16 22:58:05.422710273 +0200
@@ -105,6 +105,7 @@ config I2C_I801
 	    Panther Point (PCH)
 	    Lynx Point (PCH)
 	    Lynx Point-LP (PCH)
+	    Wellsburg (PCH)
 
 	  This driver can also be built as a module.  If so, the module
 	  will be called i2c-i801.