Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys/dev/usb Unwrap some lines
details: https://anonhg.NetBSD.org/src/rev/13cc6e1fa176
branches: nick-nhusb
changeset: 334513:13cc6e1fa176
user: skrll <skrll%NetBSD.org@localhost>
date: Mon May 30 06:51:21 2016 +0000
description:
Unwrap some lines
diffstat:
sys/dev/usb/uhci.c | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diffs (40 lines):
diff -r f8739ac4eefe -r 13cc6e1fa176 sys/dev/usb/uhci.c
--- a/sys/dev/usb/uhci.c Mon May 30 06:48:46 2016 +0000
+++ b/sys/dev/usb/uhci.c Mon May 30 06:51:21 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uhci.c,v 1.264.4.76 2016/05/29 08:44:31 skrll Exp $ */
+/* $NetBSD: uhci.c,v 1.264.4.77 2016/05/30 06:51:21 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.264.4.76 2016/05/29 08:44:31 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.264.4.77 2016/05/30 06:51:21 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -3320,18 +3320,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