summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-01-11 21:41:16 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-01-11 21:41:16 +0000
commitc6d7a1a23a7f2be64319875ae47d07f1f49ca49c (patch)
tree06f636f5953e7cd76504567c4e85504cf6929a63 /sys
parent347e0f5096645155b36187c2feb4798a31409009 (diff)
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
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/sdhc_pci.c5
1 files 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 <uwe@openbsd.org>
@@ -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. */