Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Whitespace fix (mainly tabify).
details: https://anonhg.NetBSD.org/src/rev/65d41a42dac0
branches: trunk
changeset: 999182:65d41a42dac0
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Thu May 23 13:10:50 2019 +0000
description:
Whitespace fix (mainly tabify).
diffstat:
sys/arch/arm/at91/at91emac.c | 58 ++--
sys/arch/arm/ep93xx/epe.c | 58 ++--
sys/arch/arm/gemini/if_gmc.c | 8 +-
sys/arch/arm/imx/if_enet.c | 10 +-
sys/arch/arm/sunxi/sun4i_emac.c | 32 +-
sys/arch/mips/atheros/dev/if_ae.c | 8 +-
sys/arch/mips/sibyte/dev/sbmac.c | 20 +-
sys/arch/sgimips/hpc/if_sq.c | 10 +-
sys/arch/sun3/dev/if_ie.c | 12 +-
sys/dev/bi/if_ni.c | 14 +-
sys/dev/cadence/if_cemac.c | 50 ++--
sys/dev/ic/ath.c | 42 ++--
sys/dev/ic/atw.c | 36 +-
sys/dev/ic/dm9000.c | 24 +-
sys/dev/ic/dwc_gmac.c | 32 +-
sys/dev/ic/elinkxl.c | 8 +-
sys/dev/ic/hme.c | 6 +-
sys/dev/ic/i82586.c | 6 +-
sys/dev/ic/lan9118.c | 18 +-
sys/dev/ic/mb86950.c | 8 +-
sys/dev/ic/pdq_ifsubr.c | 6 +-
sys/dev/ic/rtw.c | 42 ++--
sys/dev/ic/seeq8005.c | 112 +++++-----
sys/dev/ic/sgec.c | 10 +-
sys/dev/ic/smc83c170.c | 18 +-
sys/dev/ic/tulip.c | 22 +-
sys/dev/ic/wi.c | 26 +-
sys/dev/isa/if_iy.c | 38 +-
sys/dev/marvell/if_gfe.c | 12 +-
sys/dev/marvell/if_mvgbe.c | 12 +-
sys/dev/marvell/if_mvxpe.c | 12 +-
sys/dev/pci/if_age.c | 34 +-
sys/dev/pci/if_alc.c | 30 +-
sys/dev/pci/if_ale.c | 8 +-
sys/dev/pci/if_bnx.c | 64 +++---
sys/dev/pci/if_cas.c | 20 +-
sys/dev/pci/if_jme.c | 14 +-
sys/dev/pci/if_lii.c | 20 +-
sys/dev/pci/if_msk.c | 22 +-
sys/dev/pci/if_pcn.c | 8 +-
sys/dev/pci/if_ste.c | 6 +-
sys/dev/pci/if_tl.c | 12 +-
sys/dev/pci/if_vge.c | 20 +-
sys/dev/pci/if_vioif.c | 8 +-
sys/dev/pci/if_vr.c | 8 +-
sys/dev/pci/if_vte.c | 30 +-
sys/dev/pci/if_wm.c | 10 +-
sys/dev/pci/ixgbe/ixgbe.c | 396 +++++++++++++++++++-------------------
sys/dev/pci/ixgbe/ixv.c | 202 +++++++++---------
sys/dev/pcmcia/if_xi.c | 6 +-
sys/dev/qbus/if_il.c | 10 +-
sys/dev/sbus/qe.c | 8 +-
sys/dev/scsipi/if_se.c | 16 +-
sys/dev/usb/if_aue.c | 18 +-
sys/dev/usb/if_axe.c | 10 +-
sys/dev/usb/if_axen.c | 10 +-
sys/dev/usb/if_cue.c | 6 +-
sys/dev/usb/if_kue.c | 6 +-
sys/dev/usb/if_mue.c | 13 +-
sys/dev/usb/if_otus.c | 10 +-
sys/dev/usb/if_smsc.c | 8 +-
sys/dev/usb/if_ure.c | 12 +-
62 files changed, 908 insertions(+), 907 deletions(-)
diffs (truncated from 5323 to 300 lines):
diff -r 75a5b3b387f3 -r 65d41a42dac0 sys/arch/arm/at91/at91emac.c
--- a/sys/arch/arm/at91/at91emac.c Thu May 23 12:20:27 2019 +0000
+++ b/sys/arch/arm/at91/at91emac.c Thu May 23 13:10:50 2019 +0000
@@ -1,5 +1,5 @@
-/* $Id: at91emac.c,v 1.26 2019/05/23 10:51:38 msaitoh Exp $ */
-/* $NetBSD: at91emac.c,v 1.26 2019/05/23 10:51:38 msaitoh Exp $ */
+/* $Id: at91emac.c,v 1.27 2019/05/23 13:10:50 msaitoh Exp $ */
+/* $NetBSD: at91emac.c,v 1.27 2019/05/23 13:10:50 msaitoh Exp $ */
/*
* Copyright (c) 2007 Embedtronics Oy
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: at91emac.c,v 1.26 2019/05/23 10:51:38 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: at91emac.c,v 1.27 2019/05/23 13:10:50 msaitoh Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -92,7 +92,7 @@
static int emac_match(device_t, cfdata_t, void *);
static void emac_attach(device_t, device_t, void *);
static void emac_init(struct emac_softc *);
-static int emac_intr(void* arg);
+static int emac_intr(void* arg);
static int emac_gctx(struct emac_softc *);
static int emac_mediachange(struct ifnet *);
static void emac_mediastatus(struct ifnet *, struct ifmediareq *);
@@ -269,7 +269,7 @@
struct mbuf *m;
nfo = sc->RDSC[bi].Info;
- fl = (nfo & ETH_RDSC_I_LEN) - 4;
+ fl = (nfo & ETH_RDSC_I_LEN) - 4;
DPRINTFN(2,("## nfo=0x%08X\n", nfo));
MGETHDR(m, M_DONTWAIT, MT_DATA);
@@ -492,19 +492,19 @@
*/
sc->sc_ec.ec_capabilities |= ETHERCAP_VLAN_MTU;
- strcpy(ifp->if_xname, device_xname(sc->sc_dev));
- ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
- ifp->if_ioctl = emac_ifioctl;
- ifp->if_start = emac_ifstart;
- ifp->if_watchdog = emac_ifwatchdog;
- ifp->if_init = emac_ifinit;
- ifp->if_stop = emac_ifstop;
- ifp->if_timer = 0;
+ strcpy(ifp->if_xname, device_xname(sc->sc_dev));
+ ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
+ ifp->if_ioctl = emac_ifioctl;
+ ifp->if_start = emac_ifstart;
+ ifp->if_watchdog = emac_ifwatchdog;
+ ifp->if_init = emac_ifinit;
+ ifp->if_stop = emac_ifstop;
+ ifp->if_timer = 0;
ifp->if_softc = sc;
- IFQ_SET_READY(&ifp->if_snd);
- if_attach(ifp);
+ IFQ_SET_READY(&ifp->if_snd);
+ if_attach(ifp);
if_deferred_start_init(ifp, NULL);
- ether_ifattach(ifp, (sc)->sc_enaddr);
+ ether_ifattach(ifp, (sc)->sc_enaddr);
}
static int
@@ -565,18 +565,18 @@
void
emac_statchg(struct ifnet *ifp)
{
- struct emac_softc *sc = ifp->if_softc;
- uint32_t reg;
+ struct emac_softc *sc = ifp->if_softc;
+ uint32_t reg;
- /*
- * We must keep the MAC and the PHY in sync as
- * to the status of full-duplex!
- */
+ /*
+ * We must keep the MAC and the PHY in sync as
+ * to the status of full-duplex!
+ */
reg = EMAC_READ(ETH_CFG);
- if (sc->sc_mii.mii_media_active & IFM_FDX)
- reg |= ETH_CFG_FD;
- else
- reg &= ~ETH_CFG_FD;
+ if (sc->sc_mii.mii_media_active & IFM_FDX)
+ reg |= ETH_CFG_FD;
+ else
+ reg &= ~ETH_CFG_FD;
EMAC_WRITE(ETH_CFG, reg);
}
@@ -723,7 +723,7 @@
if ((ifp->if_flags & IFF_RUNNING) == 0)
return;
- printf("%s: device timeout, CTL = 0x%08x, CFG = 0x%08x\n",
+ printf("%s: device timeout, CTL = 0x%08x, CFG = 0x%08x\n",
device_xname(sc->sc_dev), EMAC_READ(ETH_CTL), EMAC_READ(ETH_CFG));
}
@@ -746,7 +746,7 @@
mii_mediachg(&sc->sc_mii);
callout_reset(&sc->emac_tick_ch, hz, emac_tick, sc);
- ifp->if_flags |= IFF_RUNNING;
+ ifp->if_flags |= IFF_RUNNING;
splx(s);
return 0;
}
@@ -800,7 +800,7 @@
cfg &= ~(ETH_CFG_MTI | ETH_CFG_UNI | ETH_CFG_CAF | ETH_CFG_UNI);
if (ifp->if_flags & IFF_PROMISC) {
- cfg |= ETH_CFG_CAF;
+ cfg |= ETH_CFG_CAF;
} else {
cfg &= ~ETH_CFG_CAF;
}
diff -r 75a5b3b387f3 -r 65d41a42dac0 sys/arch/arm/ep93xx/epe.c
--- a/sys/arch/arm/ep93xx/epe.c Thu May 23 12:20:27 2019 +0000
+++ b/sys/arch/arm/ep93xx/epe.c Thu May 23 13:10:50 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: epe.c,v 1.41 2019/05/23 10:30:35 msaitoh Exp $ */
+/* $NetBSD: epe.c,v 1.42 2019/05/23 13:10:50 msaitoh Exp $ */
/*
* Copyright (c) 2004 Jesse Off
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: epe.c,v 1.41 2019/05/23 10:30:35 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: epe.c,v 1.42 2019/05/23 13:10:50 msaitoh Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -94,7 +94,7 @@
static int epe_match(device_t , cfdata_t, void *);
static void epe_attach(device_t, device_t, void *);
static void epe_init(struct epe_softc *);
-static int epe_intr(void* arg);
+static int epe_intr(void* arg);
static int epe_gctx(struct epe_softc *);
static int epe_mediachange(struct ifnet *);
int epe_mii_readreg (device_t, int, int, uint16_t *);
@@ -147,7 +147,7 @@
sc->sc_enaddr, ETHER_ADDR_LEN);
}
- ep93xx_intr_establish(sc->sc_intr, IPL_NET, epe_intr, sc);
+ ep93xx_intr_establish(sc->sc_intr, IPL_NET, epe_intr, sc);
epe_init(sc);
}
@@ -258,7 +258,7 @@
if (ndq > 0) {
ifp->if_ipackets += ndq;
CTRLPAGE_DMASYNC(TX_QLEN * 3 * sizeof(uint32_t),
- RX_QLEN * 4 * sizeof(uint32_t),
+ RX_QLEN * 4 * sizeof(uint32_t),
BUS_DMASYNC_PREWRITE | BUS_DMASYNC_PREREAD);
EPE_WRITE(RXStsEnq, ndq);
EPE_WRITE(RXDEnq, ndq);
@@ -425,19 +425,19 @@
*/
sc->sc_ec.ec_capabilities |= ETHERCAP_VLAN_MTU;
- strcpy(ifp->if_xname, device_xname(sc->sc_dev));
- ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
- ifp->if_ioctl = epe_ifioctl;
- ifp->if_start = epe_ifstart;
- ifp->if_watchdog = epe_ifwatchdog;
- ifp->if_init = epe_ifinit;
- ifp->if_stop = epe_ifstop;
- ifp->if_timer = 0;
+ strcpy(ifp->if_xname, device_xname(sc->sc_dev));
+ ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
+ ifp->if_ioctl = epe_ifioctl;
+ ifp->if_start = epe_ifstart;
+ ifp->if_watchdog = epe_ifwatchdog;
+ ifp->if_init = epe_ifinit;
+ ifp->if_stop = epe_ifstop;
+ ifp->if_timer = 0;
ifp->if_softc = sc;
- IFQ_SET_READY(&ifp->if_snd);
- if_attach(ifp);
+ IFQ_SET_READY(&ifp->if_snd);
+ if_attach(ifp);
if_deferred_start_init(ifp, NULL);
- ether_ifattach(ifp, (sc)->sc_enaddr);
+ ether_ifattach(ifp, (sc)->sc_enaddr);
}
static int
@@ -482,18 +482,18 @@
void
epe_statchg(struct ifnet *ifp)
{
- struct epe_softc *sc = ifp->if_softc;
- uint32_t reg;
+ struct epe_softc *sc = ifp->if_softc;
+ uint32_t reg;
- /*
- * We must keep the MAC and the PHY in sync as
- * to the status of full-duplex!
- */
- reg = EPE_READ(TestCtl);
- if (sc->sc_mii.mii_media_active & IFM_FDX)
- reg |= TestCtl_MFDX;
- else
- reg &= ~TestCtl_MFDX;
+ /*
+ * We must keep the MAC and the PHY in sync as
+ * to the status of full-duplex!
+ */
+ reg = EPE_READ(TestCtl);
+ if (sc->sc_mii.mii_media_active & IFM_FDX)
+ reg |= TestCtl_MFDX;
+ else
+ reg &= ~TestCtl_MFDX;
EPE_WRITE(TestCtl, reg);
}
@@ -655,7 +655,7 @@
if ((ifp->if_flags & IFF_RUNNING) == 0)
return;
- printf("%s: device timeout, BMCtl = 0x%08x, BMSts = 0x%08x\n",
+ printf("%s: device timeout, BMCtl = 0x%08x, BMSts = 0x%08x\n",
device_xname(sc->sc_dev), EPE_READ(BMCtl), EPE_READ(BMSts));
}
@@ -676,7 +676,7 @@
goto out;
callout_reset(&sc->epe_tick_ch, hz, epe_tick, sc);
- ifp->if_flags |= IFF_RUNNING;
+ ifp->if_flags |= IFF_RUNNING;
out:
splx(s);
return 0;
diff -r 75a5b3b387f3 -r 65d41a42dac0 sys/arch/arm/gemini/if_gmc.c
--- a/sys/arch/arm/gemini/if_gmc.c Thu May 23 12:20:27 2019 +0000
+++ b/sys/arch/arm/gemini/if_gmc.c Thu May 23 13:10:50 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_gmc.c,v 1.9 2019/05/23 10:51:38 msaitoh Exp $ */
+/* $NetBSD: if_gmc.c,v 1.10 2019/05/23 13:10:50 msaitoh Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -47,7 +47,7 @@
#include <net/if_ether.h>
#include <net/if_dl.h>
-__KERNEL_RCSID(0, "$NetBSD: if_gmc.c,v 1.9 2019/05/23 10:51:38 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_gmc.c,v 1.10 2019/05/23 13:10:50 msaitoh Exp $");
#define MAX_TXSEG 32
@@ -326,12 +326,12 @@
gmac_status |= STATUS_SPEED_10M;
}
- if (sc->sc_mii.mii_media_active & IFM_FDX)
+ if (sc->sc_mii.mii_media_active & IFM_FDX)
gmac_status |= STATUS_DUPLEX_FULL;
else
gmac_status &= ~STATUS_DUPLEX_FULL;
- if (sc->sc_mii.mii_media_status & IFM_ACTIVE)
+ if (sc->sc_mii.mii_media_status & IFM_ACTIVE)
gmac_status |= STATUS_LINK_ON;
else
gmac_status &= ~STATUS_LINK_ON;
diff -r 75a5b3b387f3 -r 65d41a42dac0 sys/arch/arm/imx/if_enet.c
--- a/sys/arch/arm/imx/if_enet.c Thu May 23 12:20:27 2019 +0000
+++ b/sys/arch/arm/imx/if_enet.c Thu May 23 13:10:50 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_enet.c,v 1.20 2019/05/23 10:40:39 msaitoh Exp $ */
+/* $NetBSD: if_enet.c,v 1.21 2019/05/23 13:10:50 msaitoh Exp $ */
/*
* Copyright (c) 2014 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_enet.c,v 1.20 2019/05/23 10:40:39 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_enet.c,v 1.21 2019/05/23 13:10:50 msaitoh Exp $");
#include "vlan.h"
Home |
Main Index |
Thread Index |
Old Index