Module Name: src Committed By: skrll Date: Sat Jan 12 22:57:26 UTC 2013
Modified Files: src/sys/dev/usb: dwc_otg.c Log Message: Unwrap short lines To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/dev/usb/dwc_otg.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/dwc_otg.c diff -u src/sys/dev/usb/dwc_otg.c:1.18 src/sys/dev/usb/dwc_otg.c:1.19 --- src/sys/dev/usb/dwc_otg.c:1.18 Sat Jan 12 22:42:49 2013 +++ src/sys/dev/usb/dwc_otg.c Sat Jan 12 22:57:26 2013 @@ -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_host_setup_tx(struct dwc_otg_td 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 @@ dwc_otg_host_data_rx(struct dwc_otg_td * /* 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 @@ dwc_otg_host_data_rx(struct dwc_otg_td * /* 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_host_data_tx(struct dwc_otg_td * 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 @@ dwc_otg_host_data_tx(struct dwc_otg_td * /* 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);