summaryrefslogtreecommitdiffstats
path: root/sys/dev/fe
Commit message (Collapse)AuthorAgeFilesLines
* Make sure that pp_name is non-null before setting the deviceimp2003-04-101-1/+2
| | | | | description. This allows us to rely entirely on the CIS entries if necessary...
* Back out M_* changes, per decision of the TRB.imp2003-02-191-2/+2
| | | | Approved by: trb
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-2/+2
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* network interface driver changes:sam2002-11-142-20/+8
| | | | | | | | | | | | | | o don't strip the Ethernet header from inbound packets; pass packets up the stack intact (required significant changes to some drivers) o reference common definitions in net/ethernet.h (e.g. ETHER_ALIGN) o track ether_ifattach/ether_ifdetach API changes o track bpf changes (use BPF_TAP and BPF_MTAP) o track vlan changes (ifnet capabilities, revised processing scheme, etc.) o use if_input to pass packets "up" o call ether_ioctl for default handling of ioctls Reviewed by: many Approved by: re
* Use if_printf(ifp, "blah") instead of printf("fe%d: blah", ifp->if_unit).brooks2002-10-011-7/+7
| | | | | | | A number of functions in this driver still use the unit number in their printouts because they pass the unit directly as a function argument instead of passing a softc or struct ifnet pointer. This should be resolved at a future date.
* Be consistent about "static" functions: if the function is markedphk2002-09-281-1/+1
| | | | | | static in its prototype, mark it static at the definition too. Inspired by: FlexeLint warning #512
* Supported C-NET(98)P2 PnP mode.nyan2002-02-041-15/+27
| | | | | Submitted by: "Hirokazu WATANABE" <gwna@geocities.co.jp> MFC after: 3 days
* Migrate to PCMCIA_CARD() macrosimp2001-11-151-28/+7
|
* s/PCCARD_/PCMCIA_/g in NEWCARD device tables to enable easier NetBSD sharingimp2001-11-111-14/+14
|
* Always turned on 8bit access card support for the fe drivershiba2001-09-022-35/+0
| | | | | | both i386/pc98, so options FE_8BIT_SUPPORT was deleted. Reviewed by: nyan
* Update the fe driver to probe and attach under a NEWCARD kernel.shiba2001-09-023-16/+64
| | | | | Reviewed by: imp Obtained from: NetBSD
* Fixed to support C-NET(9N)E.nyan2001-07-021-9/+2
|
* Convert if_multiaddrs from LIST to TAILQ so that it can be traversedphk2001-02-061-1/+1
| | | | | | backwards in the three drivers which want to do that. Reviewed by: mikeh
* Another round of the <sys/queue.h> FOREACH transmogriffer.phk2001-02-041-2/+1
| | | | | Created with: sed(1) Reviewed by: md5(1)
* Mechanical change to use <sys/queue.h> macro API instead ofphk2001-02-041-2/+2
| | | | | | | fondling implementation details. Created with: sed(1) Reviewed by: md5(1)
* The fe driver does not support pnp devices.nyan2000-11-101-0/+4
|
* 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>.
OpenPOWER on IntegriCloud