Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 May 2020 23:40:16 +0000 (UTC)
From:      Vladimir Kondratyev <wulf@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r360618 - stable/12/sys/dev/ichiic
Message-ID:  <202005032340.043NeGKt078458@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wulf
Date: Sun May  3 23:40:16 2020
New Revision: 360618
URL: https://svnweb.freebsd.org/changeset/base/360618

Log:
  MFC r360355:
  
  ig4(4): Add PCI IDs for Intel Bay Trail I2C controllers.
  
  PR:		245654
  Reported by:	<xspbe3ho3p5uac@protonmail.com>

Modified:
  stable/12/sys/dev/ichiic/ig4_pci.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/ichiic/ig4_pci.c
==============================================================================
--- stable/12/sys/dev/ichiic/ig4_pci.c	Sun May  3 23:38:21 2020	(r360617)
+++ stable/12/sys/dev/ichiic/ig4_pci.c	Sun May  3 23:40:16 2020	(r360618)
@@ -66,6 +66,13 @@ __FBSDID("$FreeBSD$");
 
 static int ig4iic_pci_detach(device_t dev);
 
+#define PCI_CHIP_BAYTRAIL_I2C_1 	0x0f418086
+#define PCI_CHIP_BAYTRAIL_I2C_2 	0x0f428086
+#define PCI_CHIP_BAYTRAIL_I2C_3 	0x0f438086
+#define PCI_CHIP_BAYTRAIL_I2C_4 	0x0f448086
+#define PCI_CHIP_BAYTRAIL_I2C_5 	0x0f458086
+#define PCI_CHIP_BAYTRAIL_I2C_6 	0x0f468086
+#define PCI_CHIP_BAYTRAIL_I2C_7 	0x0f478086
 #define PCI_CHIP_LYNXPT_LP_I2C_1	0x9c618086
 #define PCI_CHIP_LYNXPT_LP_I2C_2	0x9c628086
 #define PCI_CHIP_BRASWELL_I2C_1 	0x22c18086
@@ -108,6 +115,13 @@ struct ig4iic_pci_device {
 };
 
 static struct ig4iic_pci_device ig4iic_pci_devices[] = {
+	{ PCI_CHIP_BAYTRAIL_I2C_1, "Intel BayTrail Serial I/O I2C Port 1", IG4_ATOM},
+	{ PCI_CHIP_BAYTRAIL_I2C_2, "Intel BayTrail Serial I/O I2C Port 2", IG4_ATOM},
+	{ PCI_CHIP_BAYTRAIL_I2C_3, "Intel BayTrail Serial I/O I2C Port 3", IG4_ATOM},
+	{ PCI_CHIP_BAYTRAIL_I2C_4, "Intel BayTrail Serial I/O I2C Port 4", IG4_ATOM},
+	{ PCI_CHIP_BAYTRAIL_I2C_5, "Intel BayTrail Serial I/O I2C Port 5", IG4_ATOM},
+	{ PCI_CHIP_BAYTRAIL_I2C_6, "Intel BayTrail Serial I/O I2C Port 6", IG4_ATOM},
+	{ PCI_CHIP_BAYTRAIL_I2C_7, "Intel BayTrail Serial I/O I2C Port 7", IG4_ATOM},
 	{ PCI_CHIP_LYNXPT_LP_I2C_1, "Intel Lynx Point-LP I2C Controller-1", IG4_HASWELL},
 	{ PCI_CHIP_LYNXPT_LP_I2C_2, "Intel Lynx Point-LP I2C Controller-2", IG4_HASWELL},
 	{ PCI_CHIP_BRASWELL_I2C_1, "Intel Braswell Serial I/O I2C Port 1", IG4_ATOM},



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005032340.043NeGKt078458>