From: kettenis Date: Fri, 11 Oct 2024 09:55:24 +0000 (+0000) Subject: Revert ehci(4) bits in the previous commit. Apparently 64-bit DMA is broken X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=89d99141c9b38170e9d466a3db80e4c79664f34e;p=openbsd Revert ehci(4) bits in the previous commit. Apparently 64-bit DMA is broken in (almost?) all ehci(4) controllers. --- diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c index d1a69b662d1..1e8a1368534 100644 --- a/sys/dev/usb/ehci.c +++ b/sys/dev/usb/ehci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ehci.c,v 1.221 2024/10/08 19:42:31 kettenis Exp $ */ +/* $OpenBSD: ehci.c,v 1.222 2024/10/11 09:55:24 kettenis Exp $ */ /* $NetBSD: ehci.c,v 1.66 2004/06/30 03:11:56 mycroft Exp $ */ /* @@ -317,7 +317,6 @@ ehci_init(struct ehci_softc *sc) sc->sc_noport = EHCI_HCS_N_PORTS(sparams); cparams = EREAD4(sc, EHCI_HCCPARAMS); DPRINTF(("ehci_init: cparams=0x%x\n", cparams)); - sc->sc_bus.dmaflags = EHCI_HCC_64BIT(cparams) ? BUS_DMA_64BIT : 0; /* MUST clear segment register if 64 bit capable. */ if (EHCI_HCC_64BIT(cparams))