Deleted Added
full compact
if_wl.c (61011) if_wl.c (63090)
1/* $FreeBSD: head/sys/dev/wl/if_wl.c 61011 2000-05-28 13:40:48Z peter $ */
1/* $FreeBSD: head/sys/dev/wl/if_wl.c 63090 2000-07-13 22:54:34Z archie $ */
2/*
3 * Redistribution and use in source and binary forms, with or without
4 * modification, are permitted provided that the following conditions
5 * are met:
6 * 1. Redistributions of source code must retain all copyright
7 * notices, this list of conditions and the following disclaimer.
8 * 2. The names of the authors may not be used to endorse or promote products
9 * derived from this software withough specific prior written permission

--- 500 unchanged lines hidden (view full) ---

510 ifp->if_start = wlstart;
511 ifp->if_ioctl = wlioctl;
512 ifp->if_timer = 0; /* paranoia */
513 /* no entries
514 ifp->if_watchdog
515 ifp->if_done
516 ifp->if_reset
517 */
2/*
3 * Redistribution and use in source and binary forms, with or without
4 * modification, are permitted provided that the following conditions
5 * are met:
6 * 1. Redistributions of source code must retain all copyright
7 * notices, this list of conditions and the following disclaimer.
8 * 2. The names of the authors may not be used to endorse or promote products
9 * derived from this software withough specific prior written permission

--- 500 unchanged lines hidden (view full) ---

510 ifp->if_start = wlstart;
511 ifp->if_ioctl = wlioctl;
512 ifp->if_timer = 0; /* paranoia */
513 /* no entries
514 ifp->if_watchdog
515 ifp->if_done
516 ifp->if_reset
517 */
518 if_attach(ifp);
519 ether_ifattach(ifp);
518 ether_ifattach(ifp, ETHER_BPF_SUPPORTED);
520
519
521 bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header));
522
523 bcopy(&sc->wl_addr[0], sc->wl_ac.ac_enaddr, WAVELAN_ADDR_SIZE);
524 printf("%s%d: address %6D, NWID 0x%02x%02x", ifp->if_name, ifp->if_unit,
525 sc->wl_ac.ac_enaddr, ":", sc->nwid[0], sc->nwid[1]);
526 if (sc->freq24)
527 printf(", Freq %d MHz",sc->freq24); /* 2.4 Gz */
528 printf("\n"); /* 2.4 Gz */
529
530

--- 2136 unchanged lines hidden ---
520 bcopy(&sc->wl_addr[0], sc->wl_ac.ac_enaddr, WAVELAN_ADDR_SIZE);
521 printf("%s%d: address %6D, NWID 0x%02x%02x", ifp->if_name, ifp->if_unit,
522 sc->wl_ac.ac_enaddr, ":", sc->nwid[0], sc->nwid[1]);
523 if (sc->freq24)
524 printf(", Freq %d MHz",sc->freq24); /* 2.4 Gz */
525 printf("\n"); /* 2.4 Gz */
526
527

--- 2136 unchanged lines hidden ---