Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic s/Ethernet/802.11/ when printing the address.



details:   https://anonhg.NetBSD.org/src/rev/12075bd58fb8
branches:  trunk
changeset: 500434:12075bd58fb8
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Dec 12 01:32:34 2000 +0000

description:
s/Ethernet/802.11/ when printing the address.

diffstat:

 sys/dev/ic/an.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r a20a05d49fa7 -r 12075bd58fb8 sys/dev/ic/an.c
--- a/sys/dev/ic/an.c   Mon Dec 11 23:58:55 2000 +0000
+++ b/sys/dev/ic/an.c   Tue Dec 12 01:32:34 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: an.c,v 1.2 2000/12/11 23:58:55 onoe Exp $      */
+/*     $NetBSD: an.c,v 1.3 2000/12/12 01:32:34 thorpej Exp $   */
 /*
  * Copyright (c) 1997, 1998, 1999
  *     Bill Paul <wpaul%ctr.columbia.edu@localhost>.  All rights reserved.
@@ -258,11 +258,12 @@
                return(EIO);
        }
 
-       printf("%s: Ethernet address: %s\n", sc->an_dev.dv_xname,
+       printf("%s: 802.11 address: %s\n", sc->an_dev.dv_xname,
            ether_sprintf(sc->an_caps.an_oemaddr));
 
        ifp->if_softc = sc;
-       ifp->if_flags = IFF_BROADCAST | IFF_NOTRAILERS | IFF_SIMPLEX | IFF_MULTICAST;
+       ifp->if_flags =
+           IFF_BROADCAST | IFF_NOTRAILERS | IFF_SIMPLEX | IFF_MULTICAST;
        ifp->if_ioctl = an_ioctl;
        ifp->if_start = an_start;
        ifp->if_init = an_init;



Home | Main Index | Thread Index | Old Index