From: jsg Date: Wed, 6 Mar 2024 00:11:25 +0000 (+0000) Subject: match on Intel Meteor Lake U/H/U-Type4 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=272d3fc4bfb5d44a7a81491ed607705dcda48fb4;p=openbsd match on Intel Meteor Lake U/H/U-Type4 ok deraadt@ kettenis@ --- diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c index 465c73c9eb1..4dc1a6c3e8a 100644 --- a/sys/dev/pci/azalia.c +++ b/sys/dev/pci/azalia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: azalia.c,v 1.285 2023/11/23 14:24:06 jsg Exp $ */ +/* $OpenBSD: azalia.c,v 1.286 2024/03/06 00:11:25 jsg Exp $ */ /* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */ /*- @@ -476,6 +476,7 @@ azalia_configure_pci(azalia_t *az) case PCI_PRODUCT_INTEL_JSL_HDA: case PCI_PRODUCT_INTEL_EHL_HDA: case PCI_PRODUCT_INTEL_ADL_N_HDA: + case PCI_PRODUCT_INTEL_MTL_HDA: reg = azalia_pci_read(az->pc, az->tag, INTEL_PCIE_NOSNOOP_REG); reg &= INTEL_PCIE_NOSNOOP_MASK; @@ -500,6 +501,7 @@ const struct pci_matchid azalia_pci_devices[] = { { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_JSL_HDA }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_EHL_HDA }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_ADL_N_HDA }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_MTL_HDA }, }; int diff --git a/sys/dev/pci/dwiic_pci.c b/sys/dev/pci/dwiic_pci.c index 23e6782ee33..3d0a00adb50 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.24 2023/11/23 14:24:06 jsg Exp $ */ +/* $OpenBSD: dwiic_pci.c,v 1.25 2024/03/06 00:11:25 jsg Exp $ */ /* * Synopsys DesignWare I2C controller * PCI attachment @@ -172,6 +172,12 @@ const struct pci_matchid dwiic_pci_ids[] = { { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_ADL_N_I2C_3 }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_ADL_N_I2C_4 }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_ADL_N_I2C_5 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_MTL_I2C_0 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_MTL_I2C_1 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_MTL_I2C_2 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_MTL_I2C_3 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_MTL_I2C_4 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_MTL_I2C_5 }, }; int diff --git a/sys/dev/pci/ichiic.c b/sys/dev/pci/ichiic.c index 5a7625977d4..8477c002479 100644 --- a/sys/dev/pci/ichiic.c +++ b/sys/dev/pci/ichiic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ichiic.c,v 1.53 2024/02/21 22:57:11 jsg Exp $ */ +/* $OpenBSD: ichiic.c,v 1.54 2024/03/06 00:11:25 jsg Exp $ */ /* * Copyright (c) 2005, 2006 Alexander Yurchenko @@ -141,6 +141,7 @@ const struct pci_matchid ichiic_ids[] = { { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_JSL_SMB }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_EHL_SMB }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_ADL_N_SMB }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_MTL_SMB }, }; int diff --git a/sys/dev/pci/pucdata.c b/sys/dev/pci/pucdata.c index 166ff831d85..f3325a1d99c 100644 --- a/sys/dev/pci/pucdata.c +++ b/sys/dev/pci/pucdata.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pucdata.c,v 1.119 2024/01/28 03:01:39 jsg Exp $ */ +/* $OpenBSD: pucdata.c,v 1.120 2024/03/06 00:11:25 jsg Exp $ */ /* $NetBSD: pucdata.c,v 1.6 1999/07/03 05:55:23 cgd Exp $ */ /* @@ -187,6 +187,13 @@ const struct puc_device_description puc_devs[] = { { PUC_PORT_COM, 0x10, 0x0000 }, }, }, + { /* MTL KT */ + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_MTL_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 },