i2c-piix4: add AMD CZ SMBus device ID
Subsystems (5)
PATCH RESEND v2 3/3 i2c-piix4: add AMD CZ SMBus device ID
To add AMD CZ SMBus controller device ID.
Signed-off-by Shane Huang <[email protected]>
Reviewed-by Tejun Heo <[email protected]>
Reviewed-by Jean Delvare <[email protected]>
--- 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, 5 insertions(+), 2 deletions(-)
Documentation/i2c/busses/i2c-piix4 +1 -1
@@ -13,7 +13,7 @@ Supported adapters: * AMD SP5100 (SB700 derivative found on some server mainboards) Datasheet: Publicly available at the AMD website http://support.amd.com/us/Embedded_TechDocs/44413.pdf - * AMD Hudson-2 + * AMD Hudson-2, CZ Datasheet: Not publicly available * Standard Microsystems (SMSC) SLC90E66 (Victory66) southbridge Datasheet: Publicly available at the SMSC website http://www.smsc.com
drivers/i2c/busses/Kconfig +1 -0
@@ -150,6 +150,7 @@ config I2C_PIIX4 ATI SB700/SP5100 ATI SB800 AMD Hudson-2 + AMD CZ Serverworks OSB4 Serverworks CSB5 Serverworks CSB6
drivers/i2c/busses/i2c-piix4.c +2 -1
@@ -22,7 +22,7 @@ Intel PIIX4, 440MX Serverworks OSB4, CSB5, CSB6, HT-1000, HT-1100 ATI IXP200, IXP300, IXP400, SB600, SB700/SP5100, SB800 - AMD Hudson-2 + AMD Hudson-2, CZ SMSC Victory66 Note: we assume there can only be one device, with one or more
@@ -522,6 +522,7 @@ static DEFINE_PCI_DEVICE_TABLE(piix4_ids) = { { PCI_DEVICE(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP400_SMBUS) }, { PCI_DEVICE(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_SBX00_SMBUS) }, { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_HUDSON2_SMBUS) }, + { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CZ_SMBUS) }, { PCI_DEVICE(PCI_VENDOR_ID_SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_OSB4) }, { PCI_DEVICE(PCI_VENDOR_ID_SERVERWORKS,
include/linux/pci_ids.h +1 -0
@@ -571,6 +571,7 @@#define PCI_DEVICE_ID_AMD_HUDSON2_SATA_IDE 0x7800#define PCI_DEVICE_ID_AMD_HUDSON2_SMBUS 0x780b#define PCI_DEVICE_ID_AMD_CZ_SATA_IDE 0x7900 +#define PCI_DEVICE_ID_AMD_CZ_SMBUS 0x790b#define PCI_VENDOR_ID_TRIDENT 0x1023#define PCI_DEVICE_ID_TRIDENT_4DWAVE_DX 0x2000
Signature · 1 line
1.8.1.2
Hello.
Quoted 6 lines · Shane Huang
To add AMD CZ SMBus controller device ID.
Signed-off-by Shane Huang <[email protected]>Reviewed-by Tejun Heo <[email protected]>Reviewed-by Jean Delvare <[email protected]>
[...]
include/linux/pci_ids.h line 574
Quoted 9 lines
include/linux/pci_ids.h +1
-0@@ -571,6 +571,7 @@#define PCI_DEVICE_ID_AMD_HUDSON2_SATA_IDE 0x7800#define PCI_DEVICE_ID_AMD_HUDSON2_SMBUS 0x780b#define PCI_DEVICE_ID_AMD_CZ_SATA_IDE 0x7900 +#define PCI_DEVICE_ID_AMD_CZ_SMBUS 0x790b
We don't add the device IDs here anymore.
MBR, Sergei