diff options
| author | Warner Losh <imp@FreeBSD.org> | 2001-07-02 06:02:39 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2001-07-02 06:02:39 +0000 |
| commit | e51a61e8420335c0d0099505d4c7d6fc6b905eac (patch) | |
| tree | f0b0e6e0575c37d6a25cb6f2fd7e7bb12b0cc544 /sys/dev/wl | |
| parent | cf8a1123e4af8d772171e75d8d185030b07b7452 (diff) | |
Notes
Diffstat (limited to 'sys/dev/wl')
| -rw-r--r-- | sys/dev/wl/if_wl.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/dev/wl/if_wl.c b/sys/dev/wl/if_wl.c index d46021f6a1df..58d5523ce5ae 100644 --- a/sys/dev/wl/if_wl.c +++ b/sys/dev/wl/if_wl.c @@ -327,7 +327,9 @@ static void wlrcv(int unit); static int wlrequeue(int unit, u_short fd_p); static void wlsftwsleaze(u_short *countp, u_char **mb_pp, struct mbuf **tm_pp, int unit); static void wlhdwsleaze(u_short *countp, u_char **mb_pp, struct mbuf **tm_pp, int unit); +#ifdef WLDEBUG static void wltbd(int unit); +#endif static void wlgetpsa(int base, u_char *buf); static void wlsetpsa(int unit); static u_short wlpsacrc(u_char *buf); @@ -1147,10 +1149,12 @@ wlioctl(struct ifnet *ifp, u_long cmd, caddr_t data) short mode = 0; int opri, error = 0; struct proc *p = curproc; /* XXX */ - int irq, irqval, i, isroot, size; + int irq, irqval, i, isroot; caddr_t up; +#ifdef WLCACHE + int size; char * cpt; - +#endif #ifdef WLDEBUG if (sc->wl_if.if_flags & IFF_DEBUG) @@ -2203,6 +2207,7 @@ wlack(int unit) return(cmd); } +#ifdef WLDEBUG static void wltbd(int unit) { @@ -2226,6 +2231,7 @@ wltbd(int unit) tbd_p = tbd.next_tbd_offset; } } +#endif static void wlhdwsleaze(u_short *countp, u_char **mb_pp, struct mbuf **tm_pp, int unit) |
