From 3f438978d619b41a3c5efc7826150b5e18893b18 Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 23 Nov 2023 14:24:06 +0000 Subject: [PATCH] match on Alder Lake-N ids tested-by and ok sthen@ --- sys/dev/pci/azalia.c | 4 +++- sys/dev/pci/dwiic_pci.c | 8 +++++++- sys/dev/pci/ichiic.c | 3 ++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c index 89b2a9a5778..465c73c9eb1 100644 --- a/sys/dev/pci/azalia.c +++ b/sys/dev/pci/azalia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: azalia.c,v 1.284 2023/07/30 08:46:03 yasuoka Exp $ */ +/* $OpenBSD: azalia.c,v 1.285 2023/11/23 14:24:06 jsg Exp $ */ /* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */ /*- @@ -475,6 +475,7 @@ azalia_configure_pci(azalia_t *az) case PCI_PRODUCT_INTEL_GLK_HDA: case PCI_PRODUCT_INTEL_JSL_HDA: case PCI_PRODUCT_INTEL_EHL_HDA: + case PCI_PRODUCT_INTEL_ADL_N_HDA: reg = azalia_pci_read(az->pc, az->tag, INTEL_PCIE_NOSNOOP_REG); reg &= INTEL_PCIE_NOSNOOP_MASK; @@ -498,6 +499,7 @@ const struct pci_matchid azalia_pci_devices[] = { { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_GLK_HDA }, { 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 }, }; int diff --git a/sys/dev/pci/dwiic_pci.c b/sys/dev/pci/dwiic_pci.c index ceb6954a3c8..23e6782ee33 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.23 2023/02/05 02:26:02 jsg Exp $ */ +/* $OpenBSD: dwiic_pci.c,v 1.24 2023/11/23 14:24:06 jsg Exp $ */ /* * Synopsys DesignWare I2C controller * PCI attachment @@ -166,6 +166,12 @@ const struct pci_matchid dwiic_pci_ids[] = { { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_EHL_SIO_I2C_5 }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_EHL_SIO_I2C_6 }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_EHL_SIO_I2C_7 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_ADL_N_I2C_0 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_ADL_N_I2C_1 }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_ADL_N_I2C_2 }, + { 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 }, }; int diff --git a/sys/dev/pci/ichiic.c b/sys/dev/pci/ichiic.c index 8fb1221cc35..293a74fb249 100644 --- a/sys/dev/pci/ichiic.c +++ b/sys/dev/pci/ichiic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ichiic.c,v 1.51 2023/02/05 02:26:02 jsg Exp $ */ +/* $OpenBSD: ichiic.c,v 1.52 2023/11/23 14:24:06 jsg Exp $ */ /* * Copyright (c) 2005, 2006 Alexander Yurchenko @@ -139,6 +139,7 @@ const struct pci_matchid ichiic_ids[] = { { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_700SERIES_SMB }, { 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 }, }; int -- 2.20.1