Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nick-nhusb]: src/sys/dev/usb Whitespace



details:   https://anonhg.NetBSD.org/src/rev/20ebe4ece111
branches:  nick-nhusb
changeset: 334641:20ebe4ece111
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Feb 06 09:02:38 2017 +0000

description:
Whitespace

diffstat:

 sys/dev/usb/if_smsc.c |  32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)

diffs (67 lines):

diff -r 10e88f676d05 -r 20ebe4ece111 sys/dev/usb/if_smsc.c
--- a/sys/dev/usb/if_smsc.c     Sun Feb 05 16:06:04 2017 +0000
+++ b/sys/dev/usb/if_smsc.c     Mon Feb 06 09:02:38 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_smsc.c,v 1.22.2.32 2017/02/05 13:40:46 skrll Exp $  */
+/*     $NetBSD: if_smsc.c,v 1.22.2.33 2017/02/06 09:02:38 skrll Exp $  */
 
 /*     $OpenBSD: if_smsc.c,v 1.4 2012/09/27 12:38:11 jsg Exp $ */
 /*     $FreeBSD: src/sys/dev/usb/net/if_smsc.c,v 1.1 2012/08/15 04:03:55 gonzo Exp $ */
@@ -422,10 +422,10 @@
 smsc_setmulti(struct smsc_softc *sc)
 {
        struct ifnet * const ifp = &sc->sc_ec.ec_if;
-       struct ether_multi      *enm;
-       struct ether_multistep   step;
-       uint32_t                 hashtbl[2] = { 0, 0 };
-       uint32_t                 hash;
+       struct ether_multi *enm;
+       struct ether_multistep step;
+       uint32_t hashtbl[2] = { 0, 0 };
+       uint32_t hash;
 
        if (sc->sc_dying)
                return;
@@ -966,8 +966,8 @@
 int
 smsc_ioctl(struct ifnet *ifp, u_long cmd, void *data)
 {
-       struct smsc_softc       *sc = ifp->if_softc;
-       int                     s, error = 0;
+       struct smsc_softc *sc = ifp->if_softc;
+       int s, error = 0;
 
        if (sc->sc_dying)
                return EIO;
@@ -1283,14 +1283,14 @@
 void
 smsc_rxeof(struct usbd_xfer *xfer, void *priv, usbd_status status)
 {
-       struct smsc_chain       *c = (struct smsc_chain *)priv;
-       struct smsc_softc       *sc = c->sc_sc;
-       struct ifnet            *ifp = &sc->sc_ec.ec_if;
-       u_char                  *buf = c->sc_buf;
-       uint32_t                total_len;
-       uint32_t                rxhdr;
-       uint16_t                pktlen;
-       struct mbuf             *m;
+       struct smsc_chain *c = (struct smsc_chain *)priv;
+       struct smsc_softc *sc = c->sc_sc;
+       struct ifnet *ifp = &sc->sc_ec.ec_if;
+       u_char *buf = c->sc_buf;
+       uint32_t total_len;
+       uint32_t rxhdr;
+       uint16_t pktlen;
+       struct mbuf *m;
 
        mutex_enter(&sc->sc_rxlock);
 
@@ -1595,7 +1595,7 @@
 struct mbuf *
 smsc_newbuf(void)
 {
-       struct mbuf     *m;
+       struct mbuf *m;
 
        MGETHDR(m, M_DONTWAIT, MT_DATA);
        if (m == NULL)



Home | Main Index | Thread Index | Old Index