Index | Thread | Search

From:
Jonathan Gray <jsg@jsg.id.au>
Subject:
Re: Alder Lake eMMC needs the same 0V quirk as Jasper/Apollo/Gemini Lake
To:
"Sven F." <sven.falempin@gmail.com>
Cc:
tech@openbsd.org
Date:
Fri, 29 Mar 2024 10:52:20 +1100

Download raw body.

Thread
On Thu, Mar 28, 2024 at 12:34:17PM -0400, Sven F. wrote:
> 
> Attachment got tab for patching and add EHL /  Elkhart Lake

Send patches inline, not as attachments.

Which system do you see this on?

updated diff, ids roughly in order of hardware release

Index: sys/dev/pci/sdhc_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/sdhc_pci.c,v
diff -u -p -r1.25 sdhc_pci.c
--- sys/dev/pci/sdhc_pci.c	28 Mar 2024 23:38:54 -0000	1.25
+++ sys/dev/pci/sdhc_pci.c	28 Mar 2024 23:45:27 -0000
@@ -132,6 +132,7 @@ sdhc_pci_attach(struct device *parent, s
 	    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_JSL_EMMC ||
+	    PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_EHL_EMMC ||
 	    PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_ADL_N_EMMC))
 		sc->sc.sc_flags |= SDHC_F_NOPWR0;