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



details:   https://anonhg.NetBSD.org/src/rev/08ea11cefb75
branches:  trunk
changeset: 828545:08ea11cefb75
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Dec 18 20:32:02 2017 +0000

description:
Whitespace

diffstat:

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

diffs (29 lines):

diff -r cf1c11130869 -r 08ea11cefb75 sys/dev/usb/if_smsc.c
--- a/sys/dev/usb/if_smsc.c     Mon Dec 18 20:25:07 2017 +0000
+++ b/sys/dev/usb/if_smsc.c     Mon Dec 18 20:32:02 2017 +0000
@@ -1,7 +1,7 @@
-/*     $NetBSD: if_smsc.c,v 1.31 2017/12/18 20:25:07 skrll Exp $       */
+/*     $NetBSD: if_smsc.c,v 1.32 2017/12/18 20:32:02 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 $ */
+/*     $FreeBSD: src/sys/dev/usb/net/if_smsc.c,v 1.1 2012/08/15 04:03:55 gonzo Exp $ */
 /*-
  * Copyright (c) 2012
  *     Ben Gray <bgray%freebsd.org@localhost>.
@@ -364,7 +364,6 @@
                        afc_cfg |= 0xf;
                else
                        afc_cfg &= ~0xf;
-
        } else {
                smsc_dbg_printf(sc, "half duplex operation\n");
                sc->sc_mac_csr &= ~SMSC_MAC_CSR_FDPX;
@@ -413,6 +412,7 @@
 static inline uint32_t
 smsc_hash(uint8_t addr[ETHER_ADDR_LEN])
 {
+
        return (ether_crc32_be(addr, ETHER_ADDR_LEN) >> 26) & 0x3f;
 }
 



Home | Main Index | Thread Index | Old Index