summaryrefslogtreecommitdiff
path: root/sys/dev/ex
Commit message (Collapse)AuthorAgeFilesLines
* MFC: $FreeBSD$Peter Wemm2000-08-031-0/+2
| | | | Notes: svn path=/stable/4/; revision=64201
* MFC: make all Ethernet drivers use ether_ifattach() ether_ifdetach()Archie Cobbs2000-07-171-6/+1
| | | | Notes: svn path=/stable/4/; revision=63338
* MFC: Move BPF and bridging code into ether_input()Archie Cobbs2000-05-241-17/+0
| | | | Notes: svn path=/stable/4/; revision=60840
* Pre 4.0 tidy up.Peter Wemm2000-01-141-1/+1
| | | | | | | | | | | | | | | Collect together the components of several drivers and export eisa from the i386-only area (It's not, it's on some alphas too). The code hasn't been updated to work on the Alpha yet, but that can come later. Repository copies were done a while ago. Moving these now keeps them in consistant place across the 4.x series as the newbusification progresses. Submitted by: mdodd Notes: svn path=/head/; revision=55953
* Cosmetic cleanups.Matthew N. Dodd2000-01-131-34/+23
| | | | Notes: svn path=/head/; revision=55883
* Implement a DEVICE_IDENTIFY method. I want to revisit some of this laterMatthew N. Dodd2000-01-131-22/+59
| | | | | | | but this is enough to get us going. Notes: svn path=/head/; revision=55882
* When I converted this driver to newbus I also cleaned up the codeMatthew N. Dodd2000-01-131-50/+51
| | | | | | | | | | | | | | | | | layout. It seems that I cleaned it up a bit too much and confused a few if () { if () { } else { } } statements in the obvious manner. This allows the driver to transmit packets again. *sigh* Notes: svn path=/head/; revision=55881
* Fix bus_setup_intr(); I changed exintr() to take a pointer to ex_softcMatthew N. Dodd1999-11-031-1/+1
| | | | | | | | | but didn't change bus_setup_intr() to pass the softc in. Submitted by: Warner Losh <imp@village.org> Notes: svn path=/head/; revision=52842
* - Convert this driver to newbus.Matthew N. Dodd1999-10-161-485/+723
| | | | | | | | | | | | | | | | | - Generally clean things up. - PnP now supported. Will convert to bus_space, ifmedia and add a DEVICE_IDENTIFY() method for autodetection. As it stands device ex0 at isa0 should find a card if one is present. I feel less dirty now. Notes: svn path=/head/; revision=52286
* 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
* $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-3/+6
| | | | | | | | | | 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-76/+4
| | | | | | | | | | | 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
* Set ifq_maxlen to default value. (This should be safe, it's not clearPeter Wemm1999-05-021-1/+2
| | | | | | | | | | | | | if there's benefit to setting it to the exact amount, it appears the card has 32K of ram, and 8K is used for outgoing packets, that would be something like a queue limit of 5 packets. I don't think that's useful...) PR: 11456 Submitted by: Stephen J. Roznowski <sjr@home.net> Notes: svn path=/head/; revision=46347
* Fix warnings in preparation for adding -Wall -Wcast-qual to theMatthew Dillon1999-01-281-2/+2
| | | | | | | kernel compile Notes: svn path=/head/; revision=43314
* Initialize isa_devtab entries for interrupt handlers in individualBruce Evans1998-10-221-2/+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
* 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-03-281-3/+1
| | | | Notes: svn path=/head/; revision=34928
* Make INET a proper option.Eivind Eklund1998-01-081-1/+4
| | | | | | | | | | | | | | | 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
* Throw options IPX, IPXIP and IPTUNNEL into opt_ipx.h.Eivind Eklund1997-12-151-1/+2
| | | | | | | | | | | The #ifdef IPXIP in netipx/ipx_if.h is OK (used from ipx_usrreq.c and ifconfig.c only). I also fixed a typo IPXTUNNEL -> IPTUNNEL (and #ifdef'ed out the code inside, as it never could have compiled - doh.) Notes: svn path=/head/; revision=31742
* Remove a bunch of variables which were unused both in GENERIC and LINT.Poul-Henning Kamp1997-11-071-7/+3
| | | | | | | Found by: -Wunused Notes: svn path=/head/; revision=31016
* The previous commit broke support for the Pro/10; detect which sort ofMike Smith1997-09-261-7/+25
| | | | | | | card we are using and calculate the IRQ accordingly. Notes: svn path=/head/; revision=29877
* Support Intel EtherExpress Pro 10+Mike Smith1997-09-121-4/+10
| | | | | | | | PR: kern/4335 Reviewed by: Stephen Roznowski (sjr@home.net) Notes: svn path=/head/; revision=29313
* Removed unused #includes.Bruce Evans1997-07-201-9/+0
| | | | Notes: svn path=/head/; revision=27555
* Don't depend on gcc's feature of permitting labels that aren't followedBruce Evans1997-07-011-1/+1
| | | | | | | by a statement. Notes: svn path=/head/; revision=27125
* Fix two typos in this driver that prevented it from working properly.Justin T. Gibbs1997-06-101-2/+2
| | | | | | | | PR: kern/3776 Submitted by: flash@hway.ru Notes: svn path=/head/; revision=26545
* Don't include <sys/ioctl.h> in the kernel. Stage 2: includeBruce Evans1997-03-241-1/+1
| | | | | | | <sys/sockio.h> instead of <sys/ioctl.h> in network files. Notes: svn path=/head/; revision=24204
* Add the ex driver (Intel EtherExpress Pro/10).Jordan K. Hubbard1997-01-162-0/+1083
I have no idea if this works since I don't have one of the cards to test. I also don't know what the LINT and GENERIC entries should look like, so I just made up some values for now and left them commented out. Someone who knows the factory settings for a Pro/10, please contact me! Submitted-By: Javier Martín Rueda <jmrueda@diatel.upm.es> Notes: svn path=/head/; revision=21769