aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fe
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unneeded #include <machine/clock.h>Poul-Henning Kamp2000-10-154-4/+0
| | | | Notes: svn path=/head/; revision=67164
* Move DELAY() from <machine/clock.h> to <sys/systm.h>Poul-Henning Kamp2000-10-151-0/+1
| | | | Notes: svn path=/head/; revision=67158
* Removed unneeded include files.Yoshihiro Takahashi2000-09-224-28/+0
| | | | | | | Submitted by: phk Notes: svn path=/head/; revision=66235
* Use driver_intr_t instead of the now defunct inthand2_t.John Baldwin2000-09-151-1/+1
| | | | Notes: svn path=/head/; revision=65896
* - Newbus'ify and bus_space'ify.Yoshihiro Takahashi2000-09-146-2433/+3041
| | | | | | | | | | | | - Separate bus dependent part and independent part. - Moved source files to sys/dev/fe (repo copied). - Fixed some comments by chi@bd.mbn.or.jp (Chiharu Shibata) Tested by: bsd-nomads@clave.gr.jp and FreeBSD98-testers@jp.freebsd.org Notes: svn path=/head/; revision=65832
* Make all Ethernet drivers attach using ether_ifattach() and detach usingArchie Cobbs2000-07-131-5/+2
| | | | | | | | | | | | ether_ifdetach(). The former consolidates the operations of if_attach(), ng_ether_attach(), and bpfattach(). The latter consolidates the corresponding detach operations. Reviewed by: julian, freebsd-net Notes: svn path=/head/; revision=63090
* Mass update of isa drivers using compatability shims to usePeter Wemm2000-05-281-0/+8
| | | | | | | COMPAT_ISA_DRIVER() so that we can get rid of the evil isa_compat.h table. Notes: svn path=/head/; revision=61011
* Move code to handle BPF and bridging for incoming Ethernet packets outArchie Cobbs2000-05-141-61/+1
| | | | | | | | | | | | | | | | | | of the individual drivers and into the common routine ether_input(). Also, remove the (incomplete) hack for matching ethernet headers in the ip_fw code. The good news: net result of 1016 lines removed, and this should make bridging now work with *all* Ethernet drivers. The bad news: it's nearly impossible to test every driver, especially for bridging, and I was unable to get much testing help on the mailing lists. Reviewed by: freebsd-net Notes: svn path=/head/; revision=60536
* Add $FreeBSD$Peter Wemm2000-05-011-0/+2
| | | | Notes: svn path=/head/; revision=59874
* Ratoc REX-9880/83 support (PC-98 only). This commit added functionsKATO Takenori2000-03-291-0/+129
| | | | | | | | | | | | fe_read_eeprom_rex() and fe_init_rex(). These functions should be useful for REX-5580 series (for PC-AT). But they are included in `#ifdef PC98' to avoid warnings by unused static functions. If you try to support REX-5580, please be aware of these functions. Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) Notes: svn path=/head/; revision=58781
* Make release is now falling over in if_fe.c due to Warner's pccard changes:Bill Paul1999-10-251-0/+3
| | | | | | | | | | | | if_fe.c uses PCCARD_MODULE() and is part of GENERIC. I've #ifdef'ed out the #include of "card.h" to hopefully disable pccard support in this driver until it can be converted. I'm not positive this will fix make release, but it can't possibly make it any worse than it is now. I hope this stuff settles down soon. Notes: svn path=/head/; revision=52490
* 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
* C-NET(9N)C support (PC-98 only).Yoshihiro Takahashi1999-08-311-13/+42
| | | | | | | Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) Notes: svn path=/head/; revision=50697
* $Id$ -> $FreeBSD$Peter Wemm1999-08-282-2/+2
| | | | Notes: svn path=/head/; revision=50477
* - Make binary size smaller.KATO Takenori1999-08-231-6/+6
| | | | | | | | | - Fix typo in TDK/LANX stuff. Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) Notes: svn path=/head/; revision=50239
* Make these actually compile. I got a little delete happy pruning includesMatthew N. Dodd1999-08-181-1/+5
| | | | | | | | | | 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-24/+1
| | | | | | | | | | | 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
* Replace misused FE_D6_BBW with FE_D6_SBW.KATO Takenori1999-05-041-11/+11
| | | | | | | | Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) Reminded by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp> Notes: svn path=/head/; revision=46410
* Added FE_8BIT_SUPPORT into the list. The fe driver includes opt_fe.h.KATO Takenori1999-03-031-1/+2
| | | | | | | Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp> Notes: svn path=/head/; revision=44442
* Update the pccard hooks to use a module style declaration instead.Peter Wemm1999-01-191-11/+3
| | | | Notes: svn path=/head/; revision=42820
* Silence warnings.Eivind Eklund1999-01-121-1/+3
| | | | Notes: svn path=/head/; revision=42546
* Another(better) way to support Access/NOTE N98(PC-98) without any effectsKATO Takenori1998-12-311-6/+7
| | | | | | | | | for other Access/PC series. Submitted by: Chiharu Shibata <chi@bd.mbn.or.jp> Notes: svn path=/head/; revision=42188
* Oops, I forgot to commit two diffs to fe driver.KATO Takenori1998-12-151-15/+1
| | | | Notes: svn path=/head/; revision=41824
* PC/AT(ISA) version and PC-98(NEC) version of if_fe drivers are merged,KATO Takenori1998-12-151-1275/+2334
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as well as several functional additions. (1) dot3 MIB support. (2) if_media selection method support. (3) bridge support. (4) new boards support. Supported boards are as follows. [PC/AT] * Fujitsu FMV-180 series * Allied-Telesis RE2000 series * Allied-Telesyn AT1700 series * Gateway Communications G/Ether series * UB networks Access/PC ISA series * TDK/LANX LAC-AX series * ICL EtherTeam16i series * RATOC REX-5586/5587 [PC-98] * Allied-Telesis RE1000 series * Allied-Telesis RE1000Plus/ME1500 series * Contec C-NET(9N)E series * Contec C-NET(98)P2 series * UB networks Access/PC N98C+ series * TDK/LANX LAC-98 series(not tested) Submitted by: seki@sysrap.cs.fujitsu.co.jp (Masahiro Sekiguchi) and chi@bd.mbn.or.jp (Chiharu Shibata) Notes: svn path=/head/; revision=41823
* The "easy" fixes for compiling the kernel -Wunused: remove unreferenced staticArchie Cobbs1998-12-071-3/+2
| | | | | | | and local variables, goto labels, and functions declared but not defined. Notes: svn path=/head/; revision=41591
* 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
* Removed unused includes.Bruce Evans1998-06-211-10/+6
| | | | | | | | Ifdefed conditionally used includes. Finished rev.1.39. (I only submitted the request.) Notes: svn path=/head/; revision=37097
* 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
* PCCARD-code related style nits, as requested.Mike Smith1998-02-271-4/+4
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=33864
* Fix some style nits and remove an unused header.Mike Smith1998-02-271-2/+1
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=33860
* 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
* - Renamed <pccard/card.h> -> <pccard/cardinfo.h>.Nate Williams1997-11-201-2/+2
| | | | | | | | Forgotten by: me Reminded by: Bruce Notes: svn path=/head/; revision=31311
* Remove a bunch of variables which were unused both in GENERIC and LINT.Poul-Henning Kamp1997-11-071-3/+3
| | | | | | | Found by: -Wunused Notes: svn path=/head/; revision=31016
* - Make sure we include <sys/kernel.h> to pick up the definitions of DATA_SET()Nate Williams1997-10-291-1/+2
| | | | | | | Noticed by: bde Notes: svn path=/head/; revision=30838
* - Instead of relying on a functional call to register PCARD-capable drivers,Nate Williams1997-10-261-15/+3
| | | | | | | | | | | use a Linker Set. Note, if a driver is loaded as an LKM if will have to use the function call, but since none of the existing drivers are loadable, this made things cleaner and boot messages nicer. Obtained from: PAO-970616 Notes: svn path=/head/; revision=30747
* - Functional changes to PCCARD support.Nate Williams1997-10-261-57/+30
| | | | | | | | | | | | | * Kill individual drivers 'suspend' routines, since there's no simple/safe way to suspend/resume a card w/out going through the complete probe at initialization time. * Default to using the apm_pccard_resume sysctl code, which basically pretends the card was removed, and then re-inserted. Suspend/resume is now 'emulated' with a fake insert/removal. (Hence we no longer need the driver-specific suspend routines.) Notes: svn path=/head/; revision=30721
* - Do a bunch of gratuitous changes intended to make the code easier toNate Williams1997-10-261-56/+55
| | | | | | | | | | | | | | | follow. * Rename/reorder all of the pccard structures, change many of the member names to be descriptive, and follow more closely other 'bus' drivers naming schemes. * Rename a bunch of parameter and local variable names to be more consistant in the code. * Renamed the PCCARD 'crd' device to be the 'card' device * KNF and make the code consistant where it was obvious. * ifdef'd out some unused code Notes: svn path=/head/; revision=30720
* Removed unused #includes.Bruce Evans1997-07-201-9/+1
| | | | Notes: svn path=/head/; revision=27555
* Don't include <sys/ioctl.h> in the kernel. Stage 2: includeBruce Evans1997-03-241-2/+2
| | | | | | | <sys/sockio.h> instead of <sys/ioctl.h> in network files. Notes: svn path=/head/; revision=24204
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notPeter Wemm1997-02-222-2/+2
| | | | | | | ready for it yet. Notes: svn path=/head/; revision=22975
* Put newlines after log messages.Garrett Wollman1997-01-231-3/+3
| | | | | | | | Submitted by: seki@sysrap.cs.fujitsu.co.jp PR#2563 (but the patch didn't apply) Notes: svn path=/head/; revision=21963
* Update from driver author. Closes PR#2421.Garrett Wollman1997-01-142-58/+140
| | | | | | | Submitted by: seki@sysrap.cs.fujitsu.co.jp Notes: svn path=/head/; revision=21694
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-142-2/+2
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Use the new if_multiaddrs list for multicast addresses rather than theGarrett Wollman1997-01-131-31/+14
| | | | | | | | | | previous hackery involving struct in_ifaddr and arpcom. Get rid of the abominable multi_kludge. Update all network interfaces to use the new machanism. Distressingly few Ethernet drivers program the multicast filter properly (assuming the hardware has one, which it usually does). Notes: svn path=/head/; revision=21666
* Convert the interface address and IP interface address structuresGarrett Wollman1996-12-131-2/+2
| | | | | | | | | to TAILQs. Fix places which referenced these for no good reason that I can see (the references remain, but were fixed to compile again; they are still questionable). Notes: svn path=/head/; revision=20407
* Patches from driver author in PR#2010.Garrett Wollman1996-11-151-91/+349
| | | | | | | | | Submitter requests that this patch be merged into 2.2. Submitted by: seki@sysrap.cs.fujitsu.co.jp Notes: svn path=/head/; revision=19781
* Fix padding of short packets (PR#1701).Garrett Wollman1996-10-071-12/+10
| | | | | | | Submitted by: seki@sysrap.cs.fujitsu.co.jp Notes: svn path=/head/; revision=18794