From 77a9f4bb66a0fef4e7701f35b8626c009e5f8ad1 Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 19 May 2021 05:28:09 +0000 Subject: [PATCH] match on Intel 500 Series PCH ids --- sys/dev/pci/azalia.c | 3 ++- sys/dev/pci/dwiic_pci.c | 9 ++++++++- sys/dev/pci/ichiic.c | 3 ++- sys/dev/pci/pucdata.c | 9 ++++++++- 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c index b04f80acb6b..3f7f1168505 100644 --- a/sys/dev/pci/azalia.c +++ b/sys/dev/pci/azalia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: azalia.c,v 1.260 2021/04/20 04:30:05 ratchov Exp $ */ +/* $OpenBSD: azalia.c,v 1.261 2021/05/19 05:28:09 jsg Exp $ */ /* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */ /*- @@ -469,6 +469,7 @@ azalia_configure_pci(azalia_t *az) case PCI_PRODUCT_INTEL_400SERIES_CAVS: case PCI_PRODUCT_INTEL_400SERIES_LP_HDA: case PCI_PRODUCT_INTEL_495SERIES_LP_HDA: + case PCI_PRODUCT_INTEL_500SERIES_HDA: case PCI_PRODUCT_INTEL_500SERIES_LP_HDA: case PCI_PRODUCT_INTEL_C600_HDA: case PCI_PRODUCT_INTEL_C610_HDA_1: diff --git a/sys/dev/pci/dwiic_pci.c b/sys/dev/pci/dwiic_pci.c index 792d12374f9..27ea25731ee 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.16 2021/03/30 16:46:36 kettenis Exp $ */ +/* $OpenBSD: dwiic_pci.c,v 1.17 2021/05/19 05:28:09 jsg Exp $ */ /* * Synopsys DesignWare I2C controller * PCI attachment @@ -103,6 +103,13 @@ const struct pci_matchid dwiic_pci_ids[] = { { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_495SERIES_LP_I2C_4 }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_495SERIES_LP_I2C_5 }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_495SERIES_LP_I2C_6 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_I2C_0 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_I2C_1 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_I2C_2 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_I2C_3 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_I2C_4 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_I2C_5 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_I2C_6 }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_LP_I2C_1 }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_LP_I2C_2 }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_LP_I2C_3 }, diff --git a/sys/dev/pci/ichiic.c b/sys/dev/pci/ichiic.c index 30f221996dd..692bc679b5e 100644 --- a/sys/dev/pci/ichiic.c +++ b/sys/dev/pci/ichiic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ichiic.c,v 1.44 2020/10/07 11:23:05 jsg Exp $ */ +/* $OpenBSD: ichiic.c,v 1.45 2021/05/19 05:28:09 jsg Exp $ */ /* * Copyright (c) 2005, 2006 Alexander Yurchenko @@ -132,6 +132,7 @@ const struct pci_matchid ichiic_ids[] = { { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_400SERIES_LP_SMB }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_400SERIES_V_SMB }, { 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 }, }; diff --git a/sys/dev/pci/pucdata.c b/sys/dev/pci/pucdata.c index d09ddff3a2e..6c26d43f164 100644 --- a/sys/dev/pci/pucdata.c +++ b/sys/dev/pci/pucdata.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pucdata.c,v 1.113 2020/10/07 11:20:41 jsg Exp $ */ +/* $OpenBSD: pucdata.c,v 1.114 2021/05/19 05:28:09 jsg Exp $ */ /* $NetBSD: pucdata.c,v 1.6 1999/07/03 05:55:23 cgd Exp $ */ /* @@ -152,6 +152,13 @@ const struct puc_device_description puc_devs[] = { { PUC_PORT_COM, 0x10, 0x0000 }, }, }, + { /* 500 Series KT */ + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_KT, 0x0000, 0x0000 }, + { 0xffff, 0xffff, 0x0000, 0x0000 }, + { + { PUC_PORT_COM, 0x10, 0x0000 }, + }, + }, { /* 500 Series LP KT */ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_LP_KT, 0x0000, 0x0000 }, { 0xffff, 0xffff, 0x0000, 0x0000 }, -- 2.20.1