summaryrefslogtreecommitdiffstats
path: root/sys/dev/fe
Commit message (Collapse)AuthorAgeFilesLines
* Moved prototypes of isa_alloc_resourcev() and isa_load_resourcev() tonyan2000-10-221-0/+2
| | | | isa/isavar.h, and added needed includes.
* Remove unneeded #include <machine/clock.h>phk2000-10-154-4/+0
|
* Move DELAY() from <machine/clock.h> to <sys/systm.h>phk2000-10-151-0/+1
|
* Removed unneeded include files.nyan2000-09-224-28/+0
| | | | Submitted by: phk
* Use driver_intr_t instead of the now defunct inthand2_t.jhb2000-09-151-1/+1
|
* - Newbus'ify and bus_space'ify.nyan2000-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
* Make all Ethernet drivers attach using ether_ifattach() and detach usingarchie2000-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
* Mass update of isa drivers using compatability shims to usepeter2000-05-281-0/+8
| | | | COMPAT_ISA_DRIVER() so that we can get rid of the evil isa_compat.h table.
* Move code to handle BPF and bridging for incoming Ethernet packets outarchie2000-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
* Add $FreeBSD$peter2000-05-011-0/+2
|
* Ratoc REX-9880/83 support (PC-98 only). This commit added functionskato2000-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)
* Make release is now falling over in if_fe.c due to Warner's pccard changes:wpaul1999-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.
* Remove NBPF conditionality of bpf calls in most of our network drivers.phk1999-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.
* C-NET(9N)C support (PC-98 only).nyan1999-08-311-13/+42
| | | | Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* - Make binary size smaller.kato1999-08-231-6/+6
| | | | | | - Fix typo in TDK/LANX stuff. Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
* Make these actually compile. I got a little delete happy pruning includesmdodd1999-08-181-1/+5
| | | | | | | and used 'command' instead of 'cmd' in a few cases. Also clear up some unused variables. Pointed out by: phk
* SIOCSIFADDR, SIOCGIFADDR, and SIOCSIFMTU are implemented inmdodd1999-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>
* Rename bpfilter to bpf.des1999-07-061-6/+6
|
* Replace misused FE_D6_BBW with FE_D6_SBW.kato1999-05-041-11/+11
| | | | | Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) Reminded by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
* Added FE_8BIT_SUPPORT into the list. The fe driver includes opt_fe.h.kato1999-03-031-1/+2
| | | | Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
* Update the pccard hooks to use a module style declaration instead.peter1999-01-191-11/+3
|
* Silence warnings.eivind1999-01-121-1/+3
|
* Another(better) way to support Access/NOTE N98(PC-98) without any effectskato1998-12-311-6/+7
| | | | | | for other Access/PC series. Submitted by: Chiharu Shibata <chi@bd.mbn.or.jp>
* Oops, I forgot to commit two diffs to fe driver.kato1998-12-151-15/+1
|
* PC/AT(ISA) version and PC-98(NEC) version of if_fe drivers are merged,kato1998-12-151-1282/+2341
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* The "easy" fixes for compiling the kernel -Wunused: remove unreferenced staticarchie1998-12-071-3/+2
| | | | and local variables, goto labels, and functions declared but not defined.
* Initialize isa_devtab entries for interrupt handlers in individualbde1998-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
* Removed unused includes.bde1998-06-211-10/+6
| | | | | Ifdefed conditionally used includes. Finished rev.1.39. (I only submitted the request.)
* This commit fixes various 64bit portability problems required fordfr1998-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.
* Removed unused #includes.bde1998-03-281-3/+1
|
* PCCARD-code related style nits, as requested.msmith1998-02-271-4/+4
| | | | Submitted by: bde
* Fix some style nits and remove an unused header.msmith1998-02-271-2/+1
| | | | Submitted by: bde
* Make INET a proper option.eivind1998-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>.
* Throw options IPX, IPXIP and IPTUNNEL into opt_ipx.h.eivind1997-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.)
* - Renamed <pccard/card.h> -> <pccard/cardinfo.h>.nate1997-11-201-2/+2
| | | | | Forgotten by: me Reminded by: Bruce
* Remove a bunch of variables which were unused both in GENERIC and LINT.phk1997-11-071-3/+3
| | | | Found by: -Wunused
* - Make sure we include <sys/kernel.h> to pick up the definitions of DATA_SET()nate1997-10-291-1/+2
| | | | Noticed by: bde
* - Instead of relying on a functional call to register PCARD-capable drivers,nate1997-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
* - Functional changes to PCCARD support.nate1997-10-261-59/+32
| | | | | | | | | | * 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.)
* - Do a bunch of gratuitous changes intended to make the code easier tonate1997-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
* Removed unused #includes.bde1997-07-201-9/+1
|
* Don't include <sys/ioctl.h> in the kernel. Stage 2: includebde1997-03-241-2/+2
| | | | <sys/sockio.h> instead of <sys/ioctl.h> in network files.
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-222-2/+2
| | | | ready for it yet.
* Put newlines after log messages.wollman1997-01-231-3/+3
| | | | | Submitted by: seki@sysrap.cs.fujitsu.co.jp PR#2563 (but the patch didn't apply)
* Update from driver author. Closes PR#2421.wollman1997-01-142-58/+140
| | | | Submitted by: seki@sysrap.cs.fujitsu.co.jp
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-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.
* Use the new if_multiaddrs list for multicast addresses rather than thewollman1997-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).
* Convert the interface address and IP interface address structureswollman1996-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).
* Patches from driver author in PR#2010.wollman1996-11-151-91/+349
| | | | | | Submitter requests that this patch be merged into 2.2. Submitted by: seki@sysrap.cs.fujitsu.co.jp
OpenPOWER on IntegriCloud