Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f7ea3c5 authored by Martin Devera's avatar Martin Devera Committed by Greg Kroah-Hartman
Browse files

[PATCH] I2C: i2c-piix4: Add Broadcom HT-1000 support



Add Broadcom HT-1000 south bridge's PCI ID to i2c-piix driver. Note
that at least on Supermicro H8SSL it uses non-standard SMBHSTCFG = 3
and standard values like 0 or 9 causes hangup.

Signed-off-by: default avatarMartin Devera <devik@cdi.cz>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent d7d2fe38
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -4,7 +4,7 @@ Supported adapters:
  * Intel 82371AB PIIX4 and PIIX4E
  * Intel 82371AB PIIX4 and PIIX4E
  * Intel 82443MX (440MX)
  * Intel 82443MX (440MX)
    Datasheet: Publicly available at the Intel website
    Datasheet: Publicly available at the Intel website
  * ServerWorks OSB4, CSB5 and CSB6 southbridges
  * ServerWorks OSB4, CSB5, CSB6 and HT-1000 southbridges
    Datasheet: Only available via NDA from ServerWorks
    Datasheet: Only available via NDA from ServerWorks
  * Standard Microsystems (SMSC) SLC90E66 (Victory66) southbridge
  * Standard Microsystems (SMSC) SLC90E66 (Victory66) southbridge
    Datasheet: Publicly available at the SMSC website http://www.smsc.com
    Datasheet: Publicly available at the SMSC website http://www.smsc.com
+3 −1
Original line number Original line Diff line number Diff line
@@ -168,12 +168,14 @@ config I2C_PIIX4
	help
	help
	  If you say yes to this option, support will be included for the Intel
	  If you say yes to this option, support will be included for the Intel
	  PIIX4 family of mainboard I2C interfaces.  Specifically, the following
	  PIIX4 family of mainboard I2C interfaces.  Specifically, the following
	  versions of the chipset are supported:
	  versions of the chipset are supported (note that Serverworks is part
	  of Broadcom):
	    Intel PIIX4
	    Intel PIIX4
	    Intel 440MX
	    Intel 440MX
	    Serverworks OSB4
	    Serverworks OSB4
	    Serverworks CSB5
	    Serverworks CSB5
	    Serverworks CSB6
	    Serverworks CSB6
	    Serverworks HT-1000
	    SMSC Victory66
	    SMSC Victory66


	  This driver can also be built as a module.  If so, the module
	  This driver can also be built as a module.  If so, the module
+3 −1
Original line number Original line Diff line number Diff line
@@ -22,7 +22,7 @@
/*
/*
   Supports:
   Supports:
	Intel PIIX4, 440MX
	Intel PIIX4, 440MX
	Serverworks OSB4, CSB5, CSB6
	Serverworks OSB4, CSB5, CSB6, HT-1000
	SMSC Victory66
	SMSC Victory66


   Note: we assume there can only be one device, with one SMBus interface.
   Note: we assume there can only be one device, with one SMBus interface.
@@ -419,6 +419,8 @@ static struct pci_device_id piix4_ids[] = {
	  .driver_data = 0 },
	  .driver_data = 0 },
	{ PCI_DEVICE(PCI_VENDOR_ID_SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_CSB6),
	{ PCI_DEVICE(PCI_VENDOR_ID_SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_CSB6),
	  .driver_data = 0 },
	  .driver_data = 0 },
	{ PCI_DEVICE(PCI_VENDOR_ID_SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_HT1000SB),
	  .driver_data = 0 },
	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82443MX_3),
	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82443MX_3),
	  .driver_data = 3 },
	  .driver_data = 3 },
	{ PCI_DEVICE(PCI_VENDOR_ID_EFAR, PCI_DEVICE_ID_EFAR_SLC90E66_3),
	{ PCI_DEVICE(PCI_VENDOR_ID_EFAR, PCI_DEVICE_ID_EFAR_SLC90E66_3),
+1 −0
Original line number Original line Diff line number Diff line
@@ -1371,6 +1371,7 @@
#define PCI_DEVICE_ID_SERVERWORKS_OSB4	  0x0200
#define PCI_DEVICE_ID_SERVERWORKS_OSB4	  0x0200
#define PCI_DEVICE_ID_SERVERWORKS_CSB5	  0x0201
#define PCI_DEVICE_ID_SERVERWORKS_CSB5	  0x0201
#define PCI_DEVICE_ID_SERVERWORKS_CSB6    0x0203
#define PCI_DEVICE_ID_SERVERWORKS_CSB6    0x0203
#define PCI_DEVICE_ID_SERVERWORKS_HT1000SB 0x0205
#define PCI_DEVICE_ID_SERVERWORKS_OSB4IDE 0x0211
#define PCI_DEVICE_ID_SERVERWORKS_OSB4IDE 0x0211
#define PCI_DEVICE_ID_SERVERWORKS_CSB5IDE 0x0212
#define PCI_DEVICE_ID_SERVERWORKS_CSB5IDE 0x0212
#define PCI_DEVICE_ID_SERVERWORKS_CSB6IDE 0x0213
#define PCI_DEVICE_ID_SERVERWORKS_CSB6IDE 0x0213