From 61553a4e26c231be28deef6f36739e0b4930d2b8 Mon Sep 17 00:00:00 2001 From: jsg Date: Sat, 30 Oct 2021 03:27:35 +0000 Subject: [PATCH] match on Intel 600 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 27ea25731ee..ff41b19039d 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.17 2021/05/19 05:28:09 jsg Exp $ */ +/* $OpenBSD: dwiic_pci.c,v 1.18 2021/10/30 03:27:35 jsg Exp $ */ /* * Synopsys DesignWare I2C controller * PCI attachment @@ -116,6 +116,12 @@ const struct pci_matchid dwiic_pci_ids[] = { { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_LP_I2C_4 }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_LP_I2C_5 }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_LP_I2C_6 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_600SERIES_I2C_0 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_600SERIES_I2C_1 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_600SERIES_I2C_2 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_600SERIES_I2C_3 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_600SERIES_I2C_4 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_600SERIES_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 692bc679b5e..0c996799153 100644 --- a/sys/dev/pci/ichiic.c +++ b/sys/dev/pci/ichiic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ichiic.c,v 1.45 2021/05/19 05:28:09 jsg Exp $ */ +/* $OpenBSD: ichiic.c,v 1.46 2021/10/30 03:27:35 jsg Exp $ */ /* * Copyright (c) 2005, 2006 Alexander Yurchenko @@ -134,6 +134,7 @@ const struct pci_matchid ichiic_ids[] = { { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_495SERIES_LP_SMB }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_SMB }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_LP_SMB }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_600SERIES_SMB }, }; int diff --git a/sys/dev/pci/pucdata.c b/sys/dev/pci/pucdata.c index 6c26d43f164..5e656760238 100644 --- a/sys/dev/pci/pucdata.c +++ b/sys/dev/pci/pucdata.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pucdata.c,v 1.114 2021/05/19 05:28:09 jsg Exp $ */ +/* $OpenBSD: pucdata.c,v 1.115 2021/10/30 03:27:35 jsg Exp $ */ /* $NetBSD: pucdata.c,v 1.6 1999/07/03 05:55:23 cgd Exp $ */ /* @@ -166,6 +166,13 @@ const struct puc_device_description puc_devs[] = { { PUC_PORT_COM, 0x10, 0x0000 }, }, }, + { /* 600 Series KT */ + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_600SERIES_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