Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb join lines. NFC.
details: https://anonhg.NetBSD.org/src/rev/b1dee8f9f87f
branches: trunk
changeset: 448705:b1dee8f9f87f
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Feb 07 12:35:43 2019 +0000
description:
join lines. NFC.
diffstat:
sys/dev/usb/uhci.c | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diffs (40 lines):
diff -r 1ba31104bd3a -r b1dee8f9f87f sys/dev/usb/uhci.c
--- a/sys/dev/usb/uhci.c Thu Feb 07 10:58:45 2019 +0000
+++ b/sys/dev/usb/uhci.c Thu Feb 07 12:35:43 2019 +0000
@@ -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 @@
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++;
}
Home |
Main Index |
Thread Index |
Old Index