From 2f265c1f5da413723eec3266e70919cb30097915 Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 24 Oct 2022 05:57:58 +0000 Subject: [PATCH] match on Intel 700 Series --- sys/dev/pci/dwiic_pci.c | 8 +++++++- sys/dev/pci/ichiic.c | 3 ++- sys/dev/pci/pucdata.c | 9 ++++++++- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/sys/dev/pci/dwiic_pci.c b/sys/dev/pci/dwiic_pci.c index 7403a250306..352628b9591 100644 --- a/sys/dev/pci/dwiic_pci.c +++ b/sys/dev/pci/dwiic_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dwiic_pci.c,v 1.21 2022/06/21 04:17:21 jsg Exp $ */ +/* $OpenBSD: dwiic_pci.c,v 1.22 2022/10/24 05:57:58 jsg Exp $ */ /* * Synopsys DesignWare I2C controller * PCI attachment @@ -130,6 +130,12 @@ const struct pci_matchid dwiic_pci_ids[] = { { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_600SERIES_LP_I2C_5 }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_600SERIES_LP_I2C_6 }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_600SERIES_LP_I2C_7 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_700SERIES_I2C_0 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_700SERIES_I2C_1 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_700SERIES_I2C_2 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_700SERIES_I2C_3 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_700SERIES_I2C_4 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_700SERIES_I2C_5 }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_APOLLOLAKE_I2C_1 }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_APOLLOLAKE_I2C_2 }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_APOLLOLAKE_I2C_3 }, diff --git a/sys/dev/pci/ichiic.c b/sys/dev/pci/ichiic.c index ba22e798713..59f47057889 100644 --- a/sys/dev/pci/ichiic.c +++ b/sys/dev/pci/ichiic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ichiic.c,v 1.49 2022/06/21 04:17:21 jsg Exp $ */ +/* $OpenBSD: ichiic.c,v 1.50 2022/10/24 05:57:58 jsg Exp $ */ /* * Copyright (c) 2005, 2006 Alexander Yurchenko @@ -136,6 +136,7 @@ const struct pci_matchid ichiic_ids[] = { { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_LP_SMB }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_600SERIES_SMB }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_600SERIES_LP_SMB }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_700SERIES_SMB }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_JSL_SMB }, }; diff --git a/sys/dev/pci/pucdata.c b/sys/dev/pci/pucdata.c index a2976dafde2..283d9b88e4a 100644 --- a/sys/dev/pci/pucdata.c +++ b/sys/dev/pci/pucdata.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pucdata.c,v 1.117 2022/08/02 05:38:17 jsg Exp $ */ +/* $OpenBSD: pucdata.c,v 1.118 2022/10/24 05:57:58 jsg Exp $ */ /* $NetBSD: pucdata.c,v 1.6 1999/07/03 05:55:23 cgd Exp $ */ /* @@ -180,6 +180,13 @@ const struct puc_device_description puc_devs[] = { { PUC_PORT_COM, 0x10, 0x0000 }, }, }, + { /* 700 Series KT */ + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_700SERIES_KT, 0x0000, 0x0000 }, + { 0xffff, 0xffff, 0x0000, 0x0000 }, + { + { PUC_PORT_COM, 0x10, 0x0000 }, + }, + }, { /* 82946GZ KT */ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82946GZ_KT, 0x0000, 0x0000 }, { 0xffff, 0xffff, 0x0000, 0x0000 }, -- 2.20.1