Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Print the Ethernet address before attaching media.
details: https://anonhg.NetBSD.org/src/rev/172725259eb6
branches: trunk
changeset: 503734:172725259eb6
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon Feb 12 18:52:22 2001 +0000
description:
Print the Ethernet address before attaching media.
diffstat:
sys/dev/ic/dp8390.c | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diffs (35 lines):
diff -r 4ab1097ba416 -r 172725259eb6 sys/dev/ic/dp8390.c
--- a/sys/dev/ic/dp8390.c Mon Feb 12 18:49:03 2001 +0000
+++ b/sys/dev/ic/dp8390.c Mon Feb 12 18:52:22 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dp8390.c,v 1.42 2001/02/12 18:49:03 thorpej Exp $ */
+/* $NetBSD: dp8390.c,v 1.43 2001/02/12 18:52:22 thorpej Exp $ */
/*
* Device driver for National Semiconductor DS8390/WD83C690 based ethernet
@@ -142,10 +142,13 @@
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
IFQ_SET_READY(&ifp->if_snd);
+ /* Print additional info when attached. */
+ printf("%s: Ethernet address %s\n", sc->sc_dev.dv_xname,
+ ether_sprintf(sc->sc_enaddr));
+
/* Initialize media goo. */
(*sc->sc_media_init)(sc);
-
/*
* We can support 802.1Q VLAN-sized frames.
*/
@@ -160,10 +163,6 @@
RND_TYPE_NET, 0);
#endif
- /* Print additional info when attached. */
- printf("%s: Ethernet address %s\n", sc->sc_dev.dv_xname,
- ether_sprintf(sc->sc_enaddr));
-
/* The attach is successful. */
sc->sc_flags |= DP8390_ATTACHED;
Home |
Main Index |
Thread Index |
Old Index