Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys Trailing whitespace.
details: https://anonhg.NetBSD.org/src/rev/4dc3a4606869
branches: nick-nhusb
changeset: 334061:4dc3a4606869
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Dec 03 11:24:43 2014 +0000
description:
Trailing whitespace.
diffstat:
sys/arch/arm/allwinner/awin_usb.c | 4 ++--
sys/arch/arm/at91/at91ohci.c | 10 +++++-----
sys/arch/arm/ep93xx/epohci.c | 10 +++++-----
sys/arch/arm/imx/imxusb.c | 24 ++++++++++++------------
sys/arch/arm/omap/omap3_ehci.c | 34 +++++++++++++++++-----------------
sys/arch/arm/omap/omapl1x_ohci.c | 4 ++--
sys/arch/arm/omap/tiotg.c | 10 +++++-----
sys/arch/arm/s3c2xx0/ohci_s3c24x0.c | 6 +++---
sys/arch/hpcmips/dev/plumohci.c | 20 ++++++++++----------
sys/arch/mips/alchemy/dev/ohci_aubus.c | 6 +++---
sys/arch/mips/atheros/dev/ehci_arbus.c | 6 +++---
sys/arch/mips/atheros/dev/ohci_arbus.c | 6 +++---
sys/arch/mips/ralink/ralink_ohci.c | 6 +++---
sys/arch/mips/rmi/rmixl_ehci.c | 6 +++---
sys/arch/mips/rmi/rmixl_ohci.c | 6 +++---
sys/arch/playstation2/dev/ohci_sbus.c | 6 +++---
sys/arch/powerpc/booke/dev/pq3ehci.c | 6 +++---
sys/dev/marvell/ehci_mv.c | 6 +++---
sys/dev/pci/ehci_pci.c | 6 +++---
sys/dev/usb/if_urtwn.c | 8 ++++----
sys/dev/usb/if_urtwnreg.h | 4 ++--
sys/external/bsd/dwc2/dwc2.c | 6 +++---
22 files changed, 100 insertions(+), 100 deletions(-)
diffs (truncated from 791 to 300 lines):
diff -r 36150053f628 -r 4dc3a4606869 sys/arch/arm/allwinner/awin_usb.c
--- a/sys/arch/arm/allwinner/awin_usb.c Tue Dec 02 09:00:33 2014 +0000
+++ b/sys/arch/arm/allwinner/awin_usb.c Wed Dec 03 11:24:43 2014 +0000
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: awin_usb.c,v 1.17 2014/11/14 08:20:22 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: awin_usb.c,v 1.17.2.1 2014/12/03 11:24:43 skrll Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -359,7 +359,7 @@
KASSERT(loc->loc_port != AWINIOCF_PORT_DEFAULT);
KASSERT(!strcmp(cf->cf_name, loc->loc_name));
- KASSERT(cf->cf_loc[AWINIOCF_PORT] == AWINIOCF_PORT_DEFAULT
+ KASSERT(cf->cf_loc[AWINIOCF_PORT] == AWINIOCF_PORT_DEFAULT
|| cf->cf_loc[AWINIOCF_PORT] == loc->loc_port);
KASSERT((awinusb_ports & __BIT(loc->loc_port)) == 0);
diff -r 36150053f628 -r 4dc3a4606869 sys/arch/arm/at91/at91ohci.c
--- a/sys/arch/arm/at91/at91ohci.c Tue Dec 02 09:00:33 2014 +0000
+++ b/sys/arch/arm/at91/at91ohci.c Wed Dec 03 11:24:43 2014 +0000
@@ -1,11 +1,11 @@
-/* $Id: at91ohci.c,v 1.5 2011/11/04 17:13:15 aymeric Exp $ */
-/* $NetBSD: at91ohci.c,v 1.5 2011/11/04 17:13:15 aymeric Exp $ */
+/* $Id: at91ohci.c,v 1.5.28.1 2014/12/03 11:24:43 skrll Exp $ */
+/* $NetBSD: at91ohci.c,v 1.5.28.1 2014/12/03 11:24:43 skrll Exp $ */
/*-
* Copyright (c) 2007 Embedtronics Oy.
* All rights reserved.
*
- * Based on arch/arm/ep93xx/epohci.c,
+ * Based on arch/arm/ep93xx/epohci.c,
* Copyright (c) 2004 Jesse Off
* All rights reserved.
*
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: at91ohci.c,v 1.5 2011/11/04 17:13:15 aymeric Exp $");
+__KERNEL_RCSID(0, "$NetBSD: at91ohci.c,v 1.5.28.1 2014/12/03 11:24:43 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -100,7 +100,7 @@
sc->sc_pid = sa->sa_pid;
/* Map I/O space */
- if (bus_space_map(sc->sc.iot, sa->sa_addr, sa->sa_size,
+ if (bus_space_map(sc->sc.iot, sa->sa_addr, sa->sa_size,
0, &sc->sc.ioh)) {
printf(": cannot map mem space\n");
return;
diff -r 36150053f628 -r 4dc3a4606869 sys/arch/arm/ep93xx/epohci.c
--- a/sys/arch/arm/ep93xx/epohci.c Tue Dec 02 09:00:33 2014 +0000
+++ b/sys/arch/arm/ep93xx/epohci.c Wed Dec 03 11:24:43 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: epohci.c,v 1.7 2012/11/12 18:00:36 skrll Exp $ */
+/* $NetBSD: epohci.c,v 1.7.14.1 2014/12/03 11:24:43 skrll Exp $ */
/*-
* Copyright (c) 2004 Jesse Off
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: epohci.c,v 1.7 2012/11/12 18:00:36 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: epohci.c,v 1.7.14.1 2014/12/03 11:24:43 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -98,7 +98,7 @@
sc->sc_intr = sa->sa_intr;
/* Map I/O space */
- if (bus_space_map(sc->sc.iot, sa->sa_addr, sa->sa_size,
+ if (bus_space_map(sc->sc.iot, sa->sa_addr, sa->sa_size,
0, &sc->sc.ioh)) {
printf(": cannot map mem space\n");
return;
@@ -120,7 +120,7 @@
*/
do {
- i = bus_space_read_4(sc->sc.iot, syscon_ioh,
+ i = bus_space_read_4(sc->sc.iot, syscon_ioh,
EP93XX_SYSCON_PwrSts);
} while ((i & 0x100) == 0);
bus_space_unmap(sc->sc.iot, syscon_ioh, EP93XX_APB_SYSCON_SIZE);
@@ -143,7 +143,7 @@
strlcpy(sc->sc.sc_vendor, "Cirrus Logic", sizeof sc->sc.sc_vendor);
- sc->sc_ih = ep93xx_intr_establish(sc->sc_intr, IPL_USB,
+ sc->sc_ih = ep93xx_intr_establish(sc->sc_intr, IPL_USB,
ohci_intr, sc);
r = ohci_init(&sc->sc);
diff -r 36150053f628 -r 4dc3a4606869 sys/arch/arm/imx/imxusb.c
--- a/sys/arch/arm/imx/imxusb.c Tue Dec 02 09:00:33 2014 +0000
+++ b/sys/arch/arm/imx/imxusb.c Wed Dec 03 11:24:43 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: imxusb.c,v 1.7 2014/09/25 05:05:28 ryo Exp $ */
+/* $NetBSD: imxusb.c,v 1.7.2.1 2014/12/03 11:24:43 skrll Exp $ */
/*
* Copyright (c) 2009, 2010 Genetec Corporation. All rights reserved.
* Written by Hashimoto Kenichi and Hiroyuki Bessho for Genetec Corporation.
@@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imxusb.c,v 1.7 2014/09/25 05:05:28 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imxusb.c,v 1.7.2.1 2014/12/03 11:24:43 skrll Exp $");
#include "opt_imx.h"
@@ -56,7 +56,7 @@
static int imxehci_match(device_t, cfdata_t, void *);
static void imxehci_attach(device_t, device_t, void *);
-
+
uint8_t imxusb_ulpi_read(struct imxehci_softc *sc, int addr);
void imxusb_ulpi_write(struct imxehci_softc *sc, int addr, uint8_t data);
static void ulpi_reset(struct imxehci_softc *sc);
@@ -71,11 +71,11 @@
imxehci_match(device_t parent, cfdata_t cf, void *aux)
{
struct imxusbc_attach_args *aa = aux;
-
+
if (aa->aa_unit < 0 || 3 < aa->aa_unit) {
return 0;
}
-
+
return 1;
}
@@ -103,7 +103,7 @@
aprint_normal(": i.MX USB Controller\n");
/* per unit registers */
- if (bus_space_subregion(iot, aa->aa_ioh,
+ if (bus_space_subregion(iot, aa->aa_ioh,
aa->aa_unit * IMXUSB_EHCI_SIZE, IMXUSB_EHCI_SIZE,
&sc->sc_ioh) ||
bus_space_subregion(iot, aa->aa_ioh,
@@ -119,11 +119,11 @@
hcirev = bus_space_read_2(iot, sc->sc_hsc.ioh, EHCI_HCIVERSION);
aprint_normal_dev(self,
- "id=%d revision=%d HCI revision=0x%x\n",
+ "id=%d revision=%d HCI revision=0x%x\n",
(int)__SHIFTOUT(id, IMXUSB_ID_ID),
(int)__SHIFTOUT(id, IMXUSB_ID_REVISION),
hcirev);
-
+
hwhost = bus_space_read_4(iot, sc->sc_ioh, IMXUSB_HWHOST);
hwdevice = bus_space_read_4(iot, sc->sc_ioh, IMXUSB_HWDEVICE);
@@ -147,14 +147,14 @@
sc->sc_hsc.sc_bus.dmatag = aa->aa_dmat;
- sc->sc_hsc.sc_offs = bus_space_read_1(iot, sc->sc_hsc.ioh,
+ sc->sc_hsc.sc_offs = bus_space_read_1(iot, sc->sc_hsc.ioh,
EHCI_CAPLENGTH);
/* Platform dependent setup */
if (usbc->sc_init_md_hook)
usbc->sc_init_md_hook(sc);
-
+
imxehci_reset(sc);
imxehci_select_interface(sc, sc->sc_iftype);
@@ -173,7 +173,7 @@
}
imxehci_host_mode(sc);
-
+
if (usbc->sc_setup_md_hook)
usbc->sc_setup_md_hook(sc, IMXUSB_HOST);
@@ -294,7 +294,7 @@
}
#define TIMEOUT 100000
-
+
uint8_t
imxusb_ulpi_read(struct imxehci_softc *sc, int addr)
{
diff -r 36150053f628 -r 4dc3a4606869 sys/arch/arm/omap/omap3_ehci.c
--- a/sys/arch/arm/omap/omap3_ehci.c Tue Dec 02 09:00:33 2014 +0000
+++ b/sys/arch/arm/omap/omap3_ehci.c Wed Dec 03 11:24:43 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: omap3_ehci.c,v 1.10 2014/03/29 23:32:41 matt Exp $ */
+/* $NetBSD: omap3_ehci.c,v 1.10.6.1 2014/12/03 11:24:44 skrll Exp $ */
/*-
* Copyright (c) 2010-2012 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: omap3_ehci.c,v 1.10 2014/03/29 23:32:41 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: omap3_ehci.c,v 1.10.6.1 2014/12/03 11:24:44 skrll Exp $");
#include "locators.h"
@@ -132,32 +132,32 @@
static const uint32_t uhh_map[3][4] = {
#if defined(OMAP4) || defined(OMAP5)
- {
- [OMAP3_EHCI_PORT_MODE_NONE] =
+ {
+ [OMAP3_EHCI_PORT_MODE_NONE] =
__SHIFTIN(UHH_HOSTCONFIG_PMODE_UTMI, UHH_HOSTCONFIG_P1_MODE),
- [OMAP3_EHCI_PORT_MODE_PHY] =
+ [OMAP3_EHCI_PORT_MODE_PHY] =
__SHIFTIN(UHH_HOSTCONFIG_PMODE_ULPI_PHY, UHH_HOSTCONFIG_P1_MODE),
- [OMAP3_EHCI_PORT_MODE_TLL] =
+ [OMAP3_EHCI_PORT_MODE_TLL] =
__SHIFTIN(UHH_HOSTCONFIG_PMODE_UTMI, UHH_HOSTCONFIG_P1_MODE),
- [OMAP3_EHCI_PORT_MODE_HSIC] =
+ [OMAP3_EHCI_PORT_MODE_HSIC] =
__SHIFTIN(UHH_HOSTCONFIG_PMODE_HSIC, UHH_HOSTCONFIG_P1_MODE),
}, {
- [OMAP3_EHCI_PORT_MODE_NONE] =
+ [OMAP3_EHCI_PORT_MODE_NONE] =
__SHIFTIN(UHH_HOSTCONFIG_PMODE_UTMI, UHH_HOSTCONFIG_P2_MODE),
- [OMAP3_EHCI_PORT_MODE_PHY] =
+ [OMAP3_EHCI_PORT_MODE_PHY] =
__SHIFTIN(UHH_HOSTCONFIG_PMODE_ULPI_PHY, UHH_HOSTCONFIG_P2_MODE),
- [OMAP3_EHCI_PORT_MODE_TLL] =
+ [OMAP3_EHCI_PORT_MODE_TLL] =
__SHIFTIN(UHH_HOSTCONFIG_PMODE_UTMI, UHH_HOSTCONFIG_P2_MODE),
- [OMAP3_EHCI_PORT_MODE_HSIC] =
+ [OMAP3_EHCI_PORT_MODE_HSIC] =
__SHIFTIN(UHH_HOSTCONFIG_PMODE_HSIC, UHH_HOSTCONFIG_P2_MODE),
}, {
- [OMAP3_EHCI_PORT_MODE_NONE] =
+ [OMAP3_EHCI_PORT_MODE_NONE] =
__SHIFTIN(UHH_HOSTCONFIG_PMODE_UTMI, UHH_HOSTCONFIG_P3_MODE),
- [OMAP3_EHCI_PORT_MODE_PHY] =
+ [OMAP3_EHCI_PORT_MODE_PHY] =
__SHIFTIN(UHH_HOSTCONFIG_PMODE_ULPI_PHY, UHH_HOSTCONFIG_P3_MODE),
- [OMAP3_EHCI_PORT_MODE_TLL] =
+ [OMAP3_EHCI_PORT_MODE_TLL] =
__SHIFTIN(UHH_HOSTCONFIG_PMODE_UTMI, UHH_HOSTCONFIG_P3_MODE),
- [OMAP3_EHCI_PORT_MODE_HSIC] =
+ [OMAP3_EHCI_PORT_MODE_HSIC] =
__SHIFTIN(UHH_HOSTCONFIG_PMODE_HSIC, UHH_HOSTCONFIG_P3_MODE),
}
#else
@@ -176,7 +176,7 @@
[OMAP3_EHCI_PORT_MODE_PHY] = 0,
[OMAP3_EHCI_PORT_MODE_TLL] = UHH_HOSTCONFIG_P3_ULPI_BYPASS,
[OMAP3_EHCI_PORT_MODE_HSIC] = UHH_HOSTCONFIG_P3_ULPI_BYPASS,
- },
+ },
#endif
};
@@ -748,7 +748,7 @@
uhh_power(struct omap3_ehci_softc *sc, bool on)
{
int retry = 5000;
-
+
uint32_t v;
v = UHH_READ4(sc, UHH_REVISION);
diff -r 36150053f628 -r 4dc3a4606869 sys/arch/arm/omap/omapl1x_ohci.c
--- a/sys/arch/arm/omap/omapl1x_ohci.c Tue Dec 02 09:00:33 2014 +0000
+++ b/sys/arch/arm/omap/omapl1x_ohci.c Wed Dec 03 11:24:43 2014 +0000
@@ -41,7 +41,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: omapl1x_ohci.c,v 1.1 2013/10/02 16:48:26 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: omapl1x_ohci.c,v 1.1.12.1 2014/12/03 11:24:44 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -150,7 +150,7 @@
}
strlcpy(sc->sc.sc_vendor, "OMAPL1X", sizeof sc->sc.sc_vendor);
-
Home |
Main Index |
Thread Index |
Old Index