Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic GC some trailing WS.
details: https://anonhg.NetBSD.org/src/rev/79d67453c8fa
branches: trunk
changeset: 570752:79d67453c8fa
user: heas <heas%NetBSD.org@localhost>
date: Tue Oct 26 22:52:44 2004 +0000
description:
GC some trailing WS.
diffstat:
sys/dev/ic/hme.c | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diffs (74 lines):
diff -r ac388b966218 -r 79d67453c8fa sys/dev/ic/hme.c
--- a/sys/dev/ic/hme.c Tue Oct 26 22:50:16 2004 +0000
+++ b/sys/dev/ic/hme.c Tue Oct 26 22:52:44 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hme.c,v 1.41 2004/06/28 20:50:52 heas Exp $ */
+/* $NetBSD: hme.c,v 1.42 2004/10/26 22:52:44 heas Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hme.c,v 1.41 2004/06/28 20:50:52 heas Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hme.c,v 1.42 2004/10/26 22:52:44 heas Exp $");
/* #define HMEDEBUG */
@@ -53,7 +53,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
-#include <sys/mbuf.h>
+#include <sys/mbuf.h>
#include <sys/syslog.h>
#include <sys/socket.h>
#include <sys/device.h>
@@ -518,7 +518,7 @@
/*
* Init seed for backoff
* (source suggested by manual: low 10 bits of MAC address)
- */
+ */
v = ((ea[4] << 8) | ea[5]) & 0x3fff;
bus_space_write_4(t, mac, HME_MACI_RANDSEED, v);
@@ -646,8 +646,8 @@
static __inline__ int
ether_cmp(a, b)
u_char *a, *b;
-{
-
+{
+
if (a[5] != b[5] || a[4] != b[4] || a[3] != b[3] ||
a[2] != b[2] || a[1] != b[1] || a[0] != b[0])
return (0);
@@ -1079,7 +1079,7 @@
v |= HME_MIF_CFG_PHY;
bus_space_write_4(t, mif, HME_MIFI_CFG, v);
- /* Enable MII drivers on external transceiver */
+ /* Enable MII drivers on external transceiver */
v = xif_cfg = bus_space_read_4(t, mac, HME_MACI_XIF);
if (phy == HME_PHYAD_EXTERNAL)
v |= HME_MAC_XIF_MIIENABLE;
@@ -1152,7 +1152,7 @@
v |= HME_MIF_CFG_PHY;
bus_space_write_4(t, mif, HME_MIFI_CFG, v);
- /* Enable MII drivers on external transceiver */
+ /* Enable MII drivers on external transceiver */
v = xif_cfg = bus_space_read_4(t, mac, HME_MACI_XIF);
if (phy == HME_PHYAD_EXTERNAL)
v |= HME_MAC_XIF_MIIENABLE;
@@ -1320,7 +1320,7 @@
else {
memcpy(LLADDR(ifp->if_sadl),
ina->x_host.c_host, sizeof(sc->sc_enaddr));
- }
+ }
/* Set new address. */
if (ifp->if_flags & IFF_UP)
hme_setladrf(sc);
Home |
Main Index |
Thread Index |
Old Index