summaryrefslogtreecommitdiff
path: root/sys/dev/wl/if_wl.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove NBPF conditionality of bpf calls in most of our network drivers.Poul-Henning Kamp1999-09-251-9/+0
| | | | | | | | | | | | | | | This means that we will not have to have a bpf and a non-bpf version of our driver modules. This does not open any security hole, because the bpf core isn't loadable The drivers left unchanged are the "cross platform" drivers where the respective maintainers are urged to DTRT, whatever that may be. Add a couple of missing FreeBSD tags. Notes: svn path=/head/; revision=51646
* wlinit() must be called to recalculate the multicast filter.Ollivier Robert1999-09-151-0/+2
| | | | | | | Submitted by: Francis Dupont <Francis.Dupont@inria.fr> Notes: svn path=/head/; revision=51309
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Make these actually compile. I got a little delete happy pruning includesMatthew N. Dodd1999-08-181-2/+3
| | | | | | | | | | and used 'command' instead of 'cmd' in a few cases. Also clear up some unused variables. Pointed out by: phk Notes: svn path=/head/; revision=50026
* SIOCSIFADDR, SIOCGIFADDR, and SIOCSIFMTU are implemented inMatthew N. Dodd1999-08-181-29/+6
| | | | | | | | | | | sys/net/if_ethersubr.c:ether_ioctl(). Drivers need not implement generic behavior. PR: kern/12126 Submitted by: in part by Boris Popov <bp@butya.kz> Notes: svn path=/head/; revision=50002
* Rename bpfilter to bpf.Dag-Erling Smørgrav1999-07-061-6/+6
| | | | Notes: svn path=/head/; revision=48645
* Suser() simplification:Poul-Henning Kamp1999-04-271-6/+6
| | | | | | | | | | | | | | | | | | | | | | 1: s/suser/suser_xxx/ 2: Add new function: suser(struct proc *), prototyped in <sys/proc.h>. 3: s/suser_xxx(\([a-zA-Z0-9_]*\)->p_ucred, \&\1->p_acflag)/suser(\1)/ The remaining suser_xxx() calls will be scrutinized and dealt with later. There may be some unneeded #include <sys/cred.h>, but they are left as an exercise for Bruce. More changes to the suser() API will come along with the "jail" code. Notes: svn path=/head/; revision=46112
* Silence warnings.Eivind Eklund1999-01-121-2/+2
| | | | Notes: svn path=/head/; revision=42546
* Someday I hope people will learn that "#endif" is not a commentEivind Eklund1998-12-091-12/+12
| | | | | | | introducer in ANSI C. Notes: svn path=/head/; revision=41616
* The "easy" fixes for compiling the kernel -Wunused: remove unreferenced staticArchie Cobbs1998-12-071-15/+2
| | | | | | | and local variables, goto labels, and functions declared but not defined. Notes: svn path=/head/; revision=41591
* Depend on __FreeBSD_version instead of __FreeBSD__Eivind Eklund1998-11-151-7/+7
| | | | Notes: svn path=/head/; revision=41182
* Initialize isa_devtab entries for interrupt handlers in individualBruce Evans1998-10-221-3/+5
| | | | | | | | | | device drivers, not in ioconf.c. Use a different hack in isa_device.h so that a new config(8) is not required yet. pc98 parts approved by: kato Notes: svn path=/head/; revision=40565
* Fixed printf format errors. Only one left in LINT on i386's.Bruce Evans1998-08-241-3/+3
| | | | Notes: svn path=/head/; revision=38505
* A better fix for kern/7144:Mike Smith1998-08-201-36/+28
| | | | | | | | | | | | | | | | | | | | | | | | The check for dropping unicast packets not sent to our ethernet address is after the bpf tap, but not conditioned on it. All packets received should get handed to bpf, and unicast packets not to us (mac) should get dropped whether or not there is a bpf listener. I believe that the common optimization that the interface is in hw promisc mode iff there is a bpf listener is in general wrong, but more frequently so on wavelans. I think Max's fix makes bpf listeners not see unicast packets sent to others, but I'm not sure. One can argue that checking on MOD_ENAL is wrong, but the code only drops packets that shouldn't be received. The correctness condition is that it be run whenever unicast packets without our mac address can be received. PR: kern/7144 Submitted by: Greg Troxel <gdt@ir.bbn.com> Notes: svn path=/head/; revision=38447
* Don't declare isa device structs or isa interrupt handlers in <sys/conf>,Bruce Evans1998-06-171-2/+1
| | | | | | | | | | and don't depend on them being declared there. This will cause lots of warnings for a few minutes until config is updated. Interrupt handlers should never have been configured by config, and the machine generated declarations get in the way of changing the arg type from int to void *. Notes: svn path=/head/; revision=37034
* This commit fixes various 64bit portability problems required forDoug Rabson1998-06-071-3/+3
| | | | | | | | | | | | | FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change. The prototype FreeBSD/alpha machdep will follow in a couple of days time. Notes: svn path=/head/; revision=36735
* Removed unused #includes.Bruce Evans1998-02-201-3/+1
| | | | Notes: svn path=/head/; revision=33676
* Make INET a proper option.Eivind Eklund1998-01-081-1/+6
| | | | | | | | | | | | | | | This will not make any of object files that LINT create change; there might be differences with INET disabled, but hardly anything compiled before without INET anyway. Now the 'obvious' things will give a proper error if compiled without inet - ipx_ip, ipfw, tcp_debug. The only thing that _should_ work (but can't be made to compile reasonably easily) is sppp :-( This commit move struct arpcom from <netinet/if_ether.h> to <net/if_arp.h>. Notes: svn path=/head/; revision=32350
* aha1542.c aic6360.c cy.c fd.c ft.cJustin T. Gibbs1997-09-211-5/+7
| | | | | | | | | | | | | | | if_ie.c if_wl.c if_zp.c isa.c isa_device.h labpc.c mcd.c ncr5380.c scd.c seagate.c si.c sio.c tw.c ultra14f.c wcd.c wd.c: Update for changes in the callout interface. apic_vector.s icu_vector.s ipl.s ipl_funcs.c: Add CAM software/hardware interrupt support. Notes: svn path=/head/; revision=29677
* Fixed type mismatch for a (low quality interface) function with anBruce Evans1997-08-251-5/+2
| | | | | | | | | arg of type u_short (just write the function in ANSI C like most other functions in this file instead of fixing the interface or depending on a gcc feature). Notes: svn path=/head/; revision=28754
* Reinstate some of the previous fixes which were clobbered in r1.6.Mike Smith1997-08-021-11/+8
| | | | Notes: svn path=/head/; revision=27839
* Significant bugfix and upgrade for the Wavelan (wl) driver.Mike Smith1997-08-011-56/+495
| | | | | | | | | This now includes code to handle the 2.4GHz WaveModem-based cards. Submitted by: Jim Binkley <jrb@cs.pdx.edu> Notes: svn path=/head/; revision=27817
* Removed unused #includes.Bruce Evans1997-07-201-18/+0
| | | | Notes: svn path=/head/; revision=27555
* Fixed the type of a timeout function and removed casts that hid theBruce Evans1997-06-141-7/+7
| | | | | | | problem. There was no problem in practice (at least on 386's). Notes: svn path=/head/; revision=26642
* Make the multicast code compile under -current. This has not been reviewedPeter Wemm1997-05-251-1/+38
| | | | | | | or tested yet. Mike may want to make some adjustments. Notes: svn path=/head/; revision=26114
* match the #include opt_ file with options.i386 (it has opt_wavelan.h)Peter Wemm1997-05-251-1/+1
| | | | Notes: svn path=/head/; revision=26109
* Add 'wl' Wavelan driver.Mike Smith1997-05-221-0/+2265
Obtained from: Jim Binkley <jrb@cs.pdx.edu> Notes: svn path=/head/; revision=26003