Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Unwrap short lines
details: https://anonhg.NetBSD.org/src/rev/15f504e0ddc6
branches: trunk
changeset: 783938:15f504e0ddc6
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Jan 12 22:57:26 2013 +0000
description:
Unwrap short lines
diffstat:
sys/dev/usb/dwc_otg.c | 19 +++++++------------
1 files changed, 7 insertions(+), 12 deletions(-)
diffs (68 lines):
diff -r f23d7bb16b2b -r 15f504e0ddc6 sys/dev/usb/dwc_otg.c
--- a/sys/dev/usb/dwc_otg.c Sat Jan 12 22:42:49 2013 +0000
+++ b/sys/dev/usb/dwc_otg.c Sat Jan 12 22:57:26 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc_otg.c,v 1.18 2013/01/12 22:42:49 skrll Exp $ */
+/* $NetBSD: dwc_otg.c,v 1.19 2013/01/12 22:57:26 skrll Exp $ */
/*-
* Copyright (c) 2012 Hans Petter Selasky. All rights reserved.
@@ -60,7 +60,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc_otg.c,v 1.18 2013/01/12 22:42:49 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwc_otg.c,v 1.19 2013/01/12 22:57:26 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -2373,8 +2373,7 @@
DWC_OTG_READ_4(sc, DOTG_HCCHAR(td->channel)),
DWC_OTG_READ_4(sc, DOTG_HCTSIZ(td->channel)));
- if (hcint & (HCINT_RETRY |
- HCINT_ACK | HCINT_NYET)) {
+ if (hcint & (HCINT_RETRY | HCINT_ACK | HCINT_NYET)) {
/* give success bits priority over failure bits */
} else if (hcint & HCINT_STALL) {
DPRINTF("CH=%d STALL\n", td->channel);
@@ -2602,8 +2601,7 @@
/* check interrupt bits */
- if (hcint & (HCINT_RETRY |
- HCINT_ACK | HCINT_NYET)) {
+ if (hcint & (HCINT_RETRY | HCINT_ACK | HCINT_NYET)) {
/* give success bits priority over failure bits */
} else if (hcint & HCINT_STALL) {
DPRINTF("CH=%d STALL\n", td->channel);
@@ -2621,8 +2619,7 @@
/* channel must be disabled before we can complete the transfer */
- if (hcint & (HCINT_ERRORS | HCINT_RETRY |
- HCINT_ACK | HCINT_NYET)) {
+ if (hcint & (HCINT_ERRORS | HCINT_RETRY | HCINT_ACK | HCINT_NYET)) {
dwc_otg_host_channel_disable(sc, td->channel);
@@ -2908,8 +2905,7 @@
DWC_OTG_READ_4(sc, DOTG_HCCHAR(td->channel)),
DWC_OTG_READ_4(sc, DOTG_HCTSIZ(td->channel)));
- if (hcint & (HCINT_RETRY |
- HCINT_ACK | HCINT_NYET)) {
+ if (hcint & (HCINT_RETRY | HCINT_ACK | HCINT_NYET)) {
/* give success bits priority over failure bits */
} else if (hcint & HCINT_STALL) {
DPRINTF("CH=%d STALL\n", td->channel);
@@ -2927,8 +2923,7 @@
/* channel must be disabled before we can complete the transfer */
- if (hcint & (HCINT_ERRORS | HCINT_RETRY |
- HCINT_ACK | HCINT_NYET)) {
+ if (hcint & (HCINT_ERRORS | HCINT_RETRY | HCINT_ACK | HCINT_NYET)) {
dwc_otg_host_channel_disable(sc, td->channel);
Home |
Main Index |
Thread Index |
Old Index