diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c index ea6e15462cd6..632920473913 100644 --- a/sys/dev/usb/ehci.c +++ b/sys/dev/usb/ehci.c @@ -1,4 +1,4 @@ -/* $NetBSD: ehci.c,v 1.320 2024/02/04 05:43:06 mrg Exp $ */ +/* $NetBSD: ehci.c,v 1.321 2024/02/05 23:04:18 jmcneill Exp $ */ /* * Copyright (c) 2004-2012,2016,2020 The NetBSD Foundation, Inc. @@ -54,7 +54,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.320 2024/02/04 05:43:06 mrg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.321 2024/02/05 23:04:18 jmcneill Exp $"); #include "ohci.h" #include "uhci.h" @@ -3065,7 +3065,7 @@ ehci_append_sqtd(ehci_soft_qtd_t *sqtd, ehci_soft_qtd_t *prev) prev->qtd.qtd_next = htole32(sqtd->physaddr); prev->qtd.qtd_altnext = prev->qtd.qtd_next; usb_syncmem(&prev->dma, prev->offs, sizeof(prev->qtd), - BUS_DMASYNC_POSTWRITE | BUS_DMASYNC_POSTREAD); + BUS_DMASYNC_PREWRITE | BUS_DMASYNC_PREREAD); } }