From c49c73219ee1b3c72d708f57c57b7ac1648c5b65 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Wed, 3 Dec 2003 21:53:39 -0800 Subject: [PATCH] [PATCH] I2C: add Serverworks CSB6 support to i2c-piix4 This patch adds support for the Serverworks CSB6 to i2c-piix4 driver. It was confirmed to work by lasirona at yahoo dot com in support ticket #1424: http://secure.netroedge.com/~lm78/readticket.cgi?ticket=1424 --- drivers/i2c/busses/Kconfig | 3 ++- drivers/i2c/busses/i2c-piix4.c | 9 ++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 40ded8dc2da48..1caab5748a5b5 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -161,11 +161,12 @@ config I2C_PIIX4 help If you say yes to this option, support will be included for the Intel PIIX4 family of mainboard I2C interfaces. Specifically, the following - versions of the chipset is supported: + versions of the chipset are supported: Intel PIIX4 Intel 440MX Serverworks OSB4 Serverworks CSB5 + Serverworks CSB6 SMSC Victory66 This driver can also be built as a module. If so, the module diff --git a/drivers/i2c/busses/i2c-piix4.c b/drivers/i2c/busses/i2c-piix4.c index c46252bffd5e8..58d7f9af21557 100644 --- a/drivers/i2c/busses/i2c-piix4.c +++ b/drivers/i2c/busses/i2c-piix4.c @@ -22,7 +22,7 @@ /* Supports: Intel PIIX4, 440MX - Serverworks OSB4, CSB5 + Serverworks OSB4, CSB5, CSB6 SMSC Victory66 Note: we assume there can only be one device, with one SMBus interface. @@ -422,6 +422,13 @@ static struct pci_device_id piix4_ids[] = { .subdevice = PCI_ANY_ID, .driver_data = 0, }, + { + .vendor = PCI_VENDOR_ID_SERVERWORKS, + .device = PCI_DEVICE_ID_SERVERWORKS_CSB6, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .driver_data = 0, + }, { .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82443MX_3, -- 2.53.0