Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/dwc2/dist Trailing whitespace
details: https://anonhg.NetBSD.org/src/rev/b9fbb27100c7
branches: trunk
changeset: 343755:b9fbb27100c7
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Feb 24 22:14:39 2016 +0000
description:
Trailing whitespace
diffstat:
sys/external/bsd/dwc2/dist/dwc2_core.c | 6 +++---
sys/external/bsd/dwc2/dist/dwc2_hcdddma.c | 20 ++++++++++----------
2 files changed, 13 insertions(+), 13 deletions(-)
diffs (117 lines):
diff -r 1881b1f91fa2 -r b9fbb27100c7 sys/external/bsd/dwc2/dist/dwc2_core.c
--- a/sys/external/bsd/dwc2/dist/dwc2_core.c Wed Feb 24 22:09:09 2016 +0000
+++ b/sys/external/bsd/dwc2/dist/dwc2_core.c Wed Feb 24 22:14:39 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc2_core.c,v 1.11 2016/02/14 10:53:30 skrll Exp $ */
+/* $NetBSD: dwc2_core.c,v 1.12 2016/02/24 22:14:39 skrll Exp $ */
/*
* core.c - DesignWare HS OTG Controller common routines
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc2_core.c,v 1.11 2016/02/14 10:53:30 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwc2_core.c,v 1.12 2016/02/24 22:14:39 skrll Exp $");
#include <sys/types.h>
#include <sys/bus.h>
@@ -2102,7 +2102,7 @@
dev_vdbg(hsotg->dev, "Wrote %pad to ext dma(%d)\n",
&chan->desc_list_addr, chan->hc_num);
}
-
+
hcchar = DWC2_READ_4(hsotg, HCCHAR(chan->hc_num));
hcchar &= ~HCCHAR_MULTICNT_MASK;
hcchar |= chan->multi_count << HCCHAR_MULTICNT_SHIFT &
diff -r 1881b1f91fa2 -r b9fbb27100c7 sys/external/bsd/dwc2/dist/dwc2_hcdddma.c
--- a/sys/external/bsd/dwc2/dist/dwc2_hcdddma.c Wed Feb 24 22:09:09 2016 +0000
+++ b/sys/external/bsd/dwc2/dist/dwc2_hcdddma.c Wed Feb 24 22:14:39 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc2_hcdddma.c,v 1.7 2016/02/14 10:53:30 skrll Exp $ */
+/* $NetBSD: dwc2_hcdddma.c,v 1.8 2016/02/24 22:14:39 skrll Exp $ */
/*
* hcd_ddma.c - DesignWare HS OTG Controller descriptor DMA routines
@@ -40,7 +40,7 @@
* This file contains the Descriptor DMA implementation for Host mode
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc2_hcdddma.c,v 1.7 2016/02/14 10:53:30 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwc2_hcdddma.c,v 1.8 2016/02/24 22:14:39 skrll Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -566,7 +566,7 @@
dma_desc->status |= HOST_DMA_IOC;
#endif
- usb_syncmem(&qh->desc_list_usbdma,
+ usb_syncmem(&qh->desc_list_usbdma,
(idx * sizeof(struct dwc2_hcd_dma_desc)),
sizeof(struct dwc2_hcd_dma_desc),
BUS_DMASYNC_PREWRITE);
@@ -640,7 +640,7 @@
idx = dwc2_desclist_idx_dec(qh->td_last, inc, qh->dev_speed);
qh->desc_list[idx].status |= HOST_DMA_IOC;
- usb_syncmem(&qh->desc_list_usbdma,
+ usb_syncmem(&qh->desc_list_usbdma,
(idx * sizeof(struct dwc2_hcd_dma_desc)),
sizeof(struct dwc2_hcd_dma_desc),
BUS_DMASYNC_PREWRITE);
@@ -673,7 +673,7 @@
idx = dwc2_desclist_idx_dec(qh->td_last, inc, qh->dev_speed);
qh->desc_list[idx].status |= HOST_DMA_IOC;
- usb_syncmem(&qh->desc_list_usbdma,
+ usb_syncmem(&qh->desc_list_usbdma,
(idx * sizeof(struct dwc2_hcd_dma_desc)),
sizeof(struct dwc2_hcd_dma_desc),
BUS_DMASYNC_PREWRITE);
@@ -714,7 +714,7 @@
dma_desc->buf = (u32)chan->xfer_dma;
- usb_syncmem(&qh->desc_list_usbdma,
+ usb_syncmem(&qh->desc_list_usbdma,
(n_desc * sizeof(struct dwc2_hcd_dma_desc)),
sizeof(struct dwc2_hcd_dma_desc),
BUS_DMASYNC_PREWRITE);
@@ -769,7 +769,7 @@
"set A bit in desc %d (%p)\n",
n_desc - 1,
&qh->desc_list[n_desc - 1]);
- usb_syncmem(&qh->desc_list_usbdma,
+ usb_syncmem(&qh->desc_list_usbdma,
((n_desc - 1) *
sizeof(struct dwc2_hcd_dma_desc)),
sizeof(struct dwc2_hcd_dma_desc),
@@ -799,7 +799,7 @@
HOST_DMA_IOC | HOST_DMA_EOL | HOST_DMA_A;
dev_vdbg(hsotg->dev, "set IOC/EOL/A bits in desc %d (%p)\n",
n_desc - 1, &qh->desc_list[n_desc - 1]);
- usb_syncmem(&qh->desc_list_usbdma,
+ usb_syncmem(&qh->desc_list_usbdma,
((n_desc - 1) * sizeof(struct dwc2_hcd_dma_desc)),
sizeof(struct dwc2_hcd_dma_desc),
BUS_DMASYNC_PREWRITE);
@@ -896,7 +896,7 @@
(idx * sizeof(struct dwc2_hcd_dma_desc)),
sizeof(struct dwc2_hcd_dma_desc),
BUS_DMASYNC_POSTREAD);
-
+
dma_desc = &qh->desc_list[idx];
frame_desc = &qtd->urb->iso_descs[qtd->isoc_frame_index_last];
@@ -1154,7 +1154,7 @@
if (!urb)
return -EINVAL;
- usb_syncmem(&qh->desc_list_usbdma,
+ usb_syncmem(&qh->desc_list_usbdma,
(desc_num * sizeof(struct dwc2_hcd_dma_desc)),
sizeof(struct dwc2_hcd_dma_desc),
BUS_DMASYNC_POSTREAD);
Home |
Main Index |
Thread Index |
Old Index