Module Name: src
Committed By: skrll
Date: Thu Feb 7 12:35:43 UTC 2019
Modified Files:
src/sys/dev/usb: uhci.c
Log Message:
join lines. NFC.
To generate a diff of this commit:
cvs rdiff -u -r1.286 -r1.287 src/sys/dev/usb/uhci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/uhci.c
diff -u src/sys/dev/usb/uhci.c:1.286 src/sys/dev/usb/uhci.c:1.287
--- src/sys/dev/usb/uhci.c:1.286 Tue Jan 22 15:02:33 2019
+++ src/sys/dev/usb/uhci.c Thu Feb 7 12:35:43 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: uhci.c,v 1.286 2019/01/22 15:02:33 skrll Exp $ */
+/* $NetBSD: uhci.c,v 1.287 2019/02/07 12:35:43 skrll Exp $ */
/*
* Copyright (c) 1998, 2004, 2011, 2012 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.286 2019/01/22 15:02:33 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.287 2019/02/07 12:35:43 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -3353,18 +3353,15 @@ uhci_add_intr(uhci_softc_t *sc, uhci_sof
eqh = vf->eqh;
usb_syncmem(&eqh->dma, eqh->offs + offsetof(uhci_qh_t, qh_hlink),
- sizeof(eqh->qh.qh_hlink),
- BUS_DMASYNC_POSTWRITE);
+ sizeof(eqh->qh.qh_hlink), BUS_DMASYNC_POSTWRITE);
sqh->hlink = eqh->hlink;
sqh->qh.qh_hlink = eqh->qh.qh_hlink;
usb_syncmem(&sqh->dma, sqh->offs + offsetof(uhci_qh_t, qh_hlink),
- sizeof(sqh->qh.qh_hlink),
- BUS_DMASYNC_PREWRITE);
+ sizeof(sqh->qh.qh_hlink), BUS_DMASYNC_PREWRITE);
eqh->hlink = sqh;
eqh->qh.qh_hlink = htole32(sqh->physaddr | UHCI_PTR_QH);
usb_syncmem(&eqh->dma, eqh->offs + offsetof(uhci_qh_t, qh_hlink),
- sizeof(eqh->qh.qh_hlink),
- BUS_DMASYNC_PREWRITE);
+ sizeof(eqh->qh.qh_hlink), BUS_DMASYNC_PREWRITE);
vf->eqh = sqh;
vf->bandwidth++;
}