From 548b81c5342cd8420658c6c50e907cc0d59d006f Mon Sep 17 00:00:00 2001 From: jsg Date: Tue, 11 Jan 2022 21:41:15 +0000 Subject: [PATCH] Jasper Lake eMMC needs the same 0V quirk as Apollo Lake and Gemini Lake fixes accessing eMMC on Acer Swift 1 SF114-34 problem reported and fix tested by Sven Wolf --- sys/dev/pci/sdhc_pci.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/sdhc_pci.c b/sys/dev/pci/sdhc_pci.c index 712ffe69fc2..7d838362762 100644 --- a/sys/dev/pci/sdhc_pci.c +++ b/sys/dev/pci/sdhc_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sdhc_pci.c,v 1.21 2019/11/20 16:34:58 patrick Exp $ */ +/* $OpenBSD: sdhc_pci.c,v 1.22 2022/01/11 21:41:15 jsg Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler @@ -131,7 +131,8 @@ sdhc_pci_attach(struct device *parent, struct device *self, void *aux) if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_INTEL && (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_100SERIES_LP_EMMC || PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_APOLLOLAKE_EMMC || - PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_GLK_EMMC)) + PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_GLK_EMMC || + PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_JSL_EMMC)) sc->sc.sc_flags |= SDHC_F_NOPWR0; /* Some RICOH controllers need to be bumped into the right mode. */ -- 2.20.1