summaryrefslogtreecommitdiffstats
path: root/sys/dev/ie
Commit message (Collapse)AuthorAgeFilesLines
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-061-1/+1
|
* Since if_ie doesn't contain locking or run with INTR_MPSAFE, markrwatson2004-08-131-1/+2
| | | | the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
* Convert callers to the new bus_alloc_resource_any(9) API.njl2004-03-171-6/+6
| | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
* Announce ethernet MAC addresss in ether_ifattach().mdodd2004-03-141-3/+0
|
* Replace the if_name and if_unit members of struct ifnet with new membersbrooks2003-10-311-2/+1
| | | | | | | | | | | | | if_xname, if_dname, and if_dunit. if_xname is the name of the interface and if_dname/unit are the driver name and instance. This change paves the way for interface renaming and enhanced pseudo device creation and configuration symantics. Approved By: re (in principle) Reviewed By: njl, imp Tested On: i386, amd64, sparc64 Obtained From: NetBSD (if_xname)
* Use __FBSDID().obrien2003-08-242-4/+6
| | | | Also some minor style cleanups.
* Don't use pessimal (u_short) types for i/o ports. This is mainly forbde2003-08-061-1/+1
| | | | | | | | | | completenss. The pessimization is tiny compared with i/o port slowness except on very old machines, but code that used signed short types for i/o ports was unpessimized long ago, and the macro that detected it recently started working for u_short types too. Use of bus space should have made this moot long ago. Not tested at runtime by: bde
* Move inlined function ie_ack() up to before first use.phk2003-07-221-8/+8
|
* - Move driver to newbus.mdodd2003-03-294-531/+1115
| | | | | | - Provide identify methods for EtherExpress and 3c507 cards; this means these cards no longer need wired configs. - Provide a detach method.
* Clear the IFF_OACTIVE flag at the end of ieinit(). This preventsmdodd2003-03-291-0/+2
| | | | | | | | the adapter from becoming wedged when when the interface is is brought up by ether_ioctl() (when you set an IP address for example.) Confirmed this "fix" from NetBSD's i82586 backend. It seems hackish to me but whatever.
* Adjust shared memory allocation to work on cards with only 8 KB of RAM.mdodd2003-03-291-6/+6
|
* Text formatting changes.mdodd2003-03-292-65/+68
|
* - Clean up function calling conventions.mdodd2003-03-283-439/+523
| | | | | | - Be consistent about what we call our softc. - Minor formatting. - Add some register definitions gleaned from NetBSD/Linux.
* - Rely on ether_ifattach() to initialize part of our struct ifnetmdodd2003-03-271-23/+17
| | | | | | | rather than doing it ourself. - Set ifq_maxlen. - Include the size of the ethernet header when we allocate our mbuf chain in ieget().
* Add missing COMPAT_ISA_DRIVER().mdodd2003-03-271-0/+1
| | | | Oops.
* Back out M_* changes, per decision of the TRB.imp2003-02-191-3/+3
| | | | Approved by: trb
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-3/+3
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* network interface driver changes:sam2002-11-141-39/+42
| | | | | | | | | | | | | | 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
* Be consistent about "static" functions: if the function is markedphk2002-09-281-14/+14
| | | | | | static in its prototype, mark it static at the definition too. Inspired by: FlexeLint warning #512
* Repo copy i82586.h to dev/ic/i82586.h.imp2001-07-021-1/+1
| | | | | This file currently is very ie specific, but I have plans to change that...
* 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)
* This driver needs COMPAT_OLDISA too. Sigh.peter2001-01-191-0/+4
|
* Add in an interrupt type for this driver. I have no idea how this couldjhb2001-01-191-1/+2
| | | | | | have ever worked without this. Reviewed by: peter
* Remove unneeded #include <machine/clock.h>phk2000-10-151-1/+0
|
* Make all Ethernet drivers attach using ether_ifattach() and detach usingarchie2000-07-131-4/+1
| | | | | | | | | 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
* Move code to handle BPF and bridging for incoming Ethernet packets outarchie2000-05-141-128/+30
| | | | | | | | | | | | | | | 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 missing $FreeBSD$peter2000-05-011-0/+1
|
* - Merge sl_probe() and ni_probe().mdodd2000-05-011-84/+47
| | | | | - Add myself as 'MAINTAINER' since I've got a number of changes in the pipe.
* Remove ~25 unneeded #include <sys/conf.h>phk2000-04-191-1/+0
| | | | Remove ~60 unneeded #include <sys/malloc.h>
* Remove #if NIE > 0 test, it's guaranteed to be true by config.peter2000-01-291-2/+0
|
* Pre 4.0 tidy up.peter2000-01-141-3/+3
| | | | | | | | | | | | 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
* Hid silly unknown board types message behind if (bootverbose). Thisimp1999-10-111-1/+2
| | | | | appears to have been lost sometime since joerge made this same fix in 1.47.
* Remove NBPF conditionality of bpf calls in most of our network drivers.phk1999-09-251-31/+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.
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Clean up after removing sys/eventhandler.h from sys/systm.h at the lastmsmith1999-08-211-1/+2
| | | | | minute. This should cover all of the missed cases (and should let LINT build again).
* Implement a new generic mechanism for attaching handler functions tomsmith1999-08-211-4/+5
| | | | | | | | | | | | | events, in order to pave the way for removing a number of the ad-hoc implementations currently in use. Retire the at_shutdown family of functions and replace them with new event handler lists. Rework kern_shutdown.c to take greater advantage of the use of event handlers. Reviewed by: green
* Fix stupid error (xse -> xsc).mdodd1999-08-201-10/+11
| | | | | | | | | Notice that 'unit' wasn't defined once I changed the parameters of the func. These things make me feel like wading in with a flamethrowr or something. Too much cruft! </rant>
* Set ifp->if_init to the right function.mdodd1999-08-201-15/+19
| | | | | | | | | | | | if_init_f_t is passed void * containing the address of ifp->if_softc not the unit number. Someone tell me if these things don't work as I don't have the hardware needed to test them. (thats a first.) I'll get if_ze and if_zp later. Pointed out by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
* Make these actually compile. I got a little delete happy pruning includesmdodd1999-08-181-2/+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-95/+5
| | | | | | | | 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-16/+16
|
* Fixed 10 out of 40 lines of -Wcast-qual warnings/errors. 3 lines werebde1999-05-131-14/+12
| | | | | for old confusion of `volatile char *' with `volatile caddr_t'. 7 lines were for not being careful about aligning pointers to volatiles.
* Fix warnings in preparation for adding -Wall -Wcast-qual to thedillon1999-01-281-51/+51
| | | | kernel compile
* Eliminate compiler warning.archie1998-12-101-1/+3
|
* 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
* Use [u]intptr_t instead of [unsigned] long to convert and/or representbde1998-08-101-10/+14
| | | | | | | pointers. This finishes fixing conversions between pointers and integers of possibly different sizes in GENERIC.
* Fixed the formatting of some tables (mainly the one produced by psbde1998-08-101-3/+3
| | | | | | | | | | in ddb) which I broke by changing %8[l]x to %8p. Hacked the central printf routine to not add an "0x" prefix for %p formats if the field width is nonzero. The tables are still horribly misformatted on 64-bit machines. Use %p instead of %8p to print pointers when the field width isn't important.
* Fixed printf format errors (only 1 left in GENERIC now).bde1998-07-131-10/+11
|
OpenPOWER on IntegriCloud