i2c-i801: SMBus patch for Intel Ibex Peak DeviceIDs
PATCH 1/1 i2c-i801: SMBus patch for Intel Ibex Peak DeviceIDs
This patch adds the Intel Ibex Peak (PCH) SMBus Controller DeviceIDs.
Signed-off-by Seth Heasley <[email protected]>
drivers/i2c/busses/Kconfig renamed from drivers/i2c/busses/Kconfig.orig +1 -0
@@ -97,6 +97,7 @@ ICH9 Tolapai ICH10 + PCH This driver can also be built as a module. If so, the module will be called i2c-i801.
drivers/i2c/busses/i2c-i801.c renamed from drivers/i2c/busses/i2c-i801.c.orig +2 -0
@@ -577,6 +577,7 @@ { 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_32) }, { 0, } };
@@ -600,6 +601,7 @@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_32 : i801_features |=FEATURE_I2C_BLOCK_READ ;/* fall through */ case PCI_DEVICE_ID_INTEL_82801DB_3 :
Quoted 25 lines · Seth Heasley
This patch adds the Intel Ibex Peak (PCH) SMBus Controller DeviceIDs.
Signed-off-by Seth Heasley <[email protected]>drivers/i2c/busses/Kconfig renamed from drivers/i2c/busses/Kconfig.orig +1
-0@@ -97,6 +97,7 @@ ICH9 Tolapai ICH10 + PCH This driver can also be built as a module. If so, the module will be called i2c-i801.drivers/i2c/busses/i2c-i801.c renamed from drivers/i2c/busses/i2c-i801.c.orig +1
-0@@ -577,6 +577,7 @@ { 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_32) }, { 0, } };
drivers/i2c/busses/i2c-i801.c line 607
Quoted 7 lines
drivers/i2c/busses/i2c-i801.c renamed from drivers/i2c/busses/i2c-i801.c.orig +1
-0@@ -600,6 +601,7 @@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_32 : i801_features |=FEATURE_I2C_BLOCK_READ ;/* fall through */ case PCI_DEVICE_ID_INTEL_82801DB_3 :
This is messy. I'm discarding this patch from my i2c tree for the time being. When things have settled on the pci_ids.h front, I'll look into applying it again.
Note that your patch is still missing a chunk to Documentation/i2c/busses/i2c-i801. Originally I added it myself but if you are going to resend the same patch with different IDs every now and then, please add it on your side too, so that I don't have to fix it manually every time.
Signature · 1 line
Jean Delvare