aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ie
Commit message (Collapse)AuthorAgeFilesLines
...
* Another round of the <sys/queue.h> FOREACH transmogriffer.Poul-Henning Kamp2001-02-041-2/+1
| | | | | | | | Created with: sed(1) Reviewed by: md5(1) Notes: svn path=/head/; revision=72012
* Mechanical change to use <sys/queue.h> macro API instead ofPoul-Henning Kamp2001-02-041-2/+2
| | | | | | | | | | fondling implementation details. Created with: sed(1) Reviewed by: md5(1) Notes: svn path=/head/; revision=71999
* This driver needs COMPAT_OLDISA too. Sigh.Peter Wemm2001-01-191-0/+4
| | | | Notes: svn path=/head/; revision=71250
* Add in an interrupt type for this driver. I have no idea how this couldJohn Baldwin2001-01-191-1/+2
| | | | | | | | | have ever worked without this. Reviewed by: peter Notes: svn path=/head/; revision=71233
* Remove unneeded #include <machine/clock.h>Poul-Henning Kamp2000-10-151-1/+0
| | | | Notes: svn path=/head/; revision=67164
* Make all Ethernet drivers attach using ether_ifattach() and detach usingArchie Cobbs2000-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 Notes: svn path=/head/; revision=63090
* Move code to handle BPF and bridging for incoming Ethernet packets outArchie Cobbs2000-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 Notes: svn path=/head/; revision=60536
* Add missing $FreeBSD$Peter Wemm2000-05-011-0/+1
| | | | Notes: svn path=/head/; revision=59868
* - Merge sl_probe() and ni_probe().Matthew N. Dodd2000-05-011-84/+47
| | | | | | | | - Add myself as 'MAINTAINER' since I've got a number of changes in the pipe. Notes: svn path=/head/; revision=59812
* Remove ~25 unneeded #include <sys/conf.h>Poul-Henning Kamp2000-04-191-1/+0
| | | | | | | Remove ~60 unneeded #include <sys/malloc.h> Notes: svn path=/head/; revision=59391
* Remove #if NIE > 0 test, it's guaranteed to be true by config.Peter Wemm2000-01-291-2/+0
| | | | Notes: svn path=/head/; revision=56830
* Pre 4.0 tidy up.Peter Wemm2000-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 Notes: svn path=/head/; revision=55953
* Hid silly unknown board types message behind if (bootverbose). ThisWarner Losh1999-10-111-1/+2
| | | | | | | | appears to have been lost sometime since joerge made this same fix in 1.47. Notes: svn path=/head/; revision=52132
* Remove NBPF conditionality of bpf calls in most of our network drivers.Poul-Henning Kamp1999-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. Notes: svn path=/head/; revision=51646
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50477
* Clean up after removing sys/eventhandler.h from sys/systm.h at the lastMike Smith1999-08-211-1/+2
| | | | | | | | minute. This should cover all of the missed cases (and should let LINT build again). Notes: svn path=/head/; revision=50135
* Implement a new generic mechanism for attaching handler functions toMike Smith1999-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 Notes: svn path=/head/; revision=50107
* Fix stupid error (xse -> xsc).Matthew N. Dodd1999-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> Notes: svn path=/head/; revision=50086
* Set ifp->if_init to the right function.Matthew N. Dodd1999-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> Notes: svn path=/head/; revision=50084
* Make these actually compile. I got a little delete happy pruning includesMatthew N. Dodd1999-08-181-2/+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-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> Notes: svn path=/head/; revision=50002
* Rename bpfilter to bpf.Dag-Erling Smørgrav1999-07-061-16/+16
| | | | Notes: svn path=/head/; revision=48645
* Fixed 10 out of 40 lines of -Wcast-qual warnings/errors. 3 lines wereBruce Evans1999-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. Notes: svn path=/head/; revision=47108
* Fix warnings in preparation for adding -Wall -Wcast-qual to theMatthew Dillon1999-01-281-51/+51
| | | | | | | kernel compile Notes: svn path=/head/; revision=43314
* Eliminate compiler warning.Archie Cobbs1998-12-101-1/+3
| | | | Notes: svn path=/head/; revision=41631
* 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
* Use [u]intptr_t instead of [unsigned] long to convert and/or representBruce Evans1998-08-101-10/+14
| | | | | | | | | | pointers. This finishes fixing conversions between pointers and integers of possibly different sizes in GENERIC. Notes: svn path=/head/; revision=38232
* Fixed the formatting of some tables (mainly the one produced by psBruce Evans1998-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. Notes: svn path=/head/; revision=38224
* Fixed printf format errors (only 1 left in GENERIC now).Bruce Evans1998-07-131-10/+11
| | | | Notes: svn path=/head/; revision=37618
* 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
* Support compiling with `gcc -ansi'.Bruce Evans1998-04-151-10/+10
| | | | Notes: svn path=/head/; revision=35210
* Removed unused #includes.Bruce Evans1998-03-281-3/+1
| | | | Notes: svn path=/head/; revision=34928
* Staticize.Eivind Eklund1998-02-091-6/+6
| | | | Notes: svn path=/head/; revision=33181
* 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
* Hide a silly ``unknown board type'' message behind bootverbose. TheJoerg Wunsch1997-10-151-3/+4
| | | | | | | ``ie0: not found'' message is sufficient as a default. Notes: svn path=/head/; revision=30435
* aha1542.c aic6360.c cy.c fd.c ft.cJustin T. Gibbs1997-09-211-3/+5
| | | | | | | | | | | | | | | if_ie.c if_wl.c if_zp.c isa.c isa_device.h labpc.c mcd.c ncr5380.c scd.c seagate.c si.c sio.c tw.c ultra14f.c wcd.c wd.c: Update for changes in the callout interface. apic_vector.s icu_vector.s ipl.s ipl_funcs.c: Add CAM software/hardware interrupt support. Notes: svn path=/head/; revision=29677
* Added used #include - don't depend on <sys/mbuf.h> includingBruce Evans1997-09-021-1/+2
| | | | | | | <sys/malloc.h> (unless we only use the bogusly shared M*WAIT flags). Notes: svn path=/head/; revision=29024
* Removed unused #includes.Bruce Evans1997-07-201-10/+1
| | | | Notes: svn path=/head/; revision=27555
* KNF cleanup.Justin T. Gibbs1997-06-271-1458/+1466
| | | | Notes: svn path=/head/; revision=26996
* Several bug fixes for the ee16 support from Richard Straka:Justin T. Gibbs1997-05-211-86/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | 1) Adjust NFRAMES from 16 to 8 per 16k of memory. 2) Acknowledge interrupts to the card early in the interrupt handler before processing the event that caused the interrupt. This frees the card to process addtional events instead of waiting for the driver to finish handling events. 3) Changed the initialization of the transmit buffers to be a loop so that the number of buffers can be more easily changed. 4) Moved the code to take the adapter out of loop back mode to just before we enable the receiver. I also made the driver dynamically size its resource arrays at attach time so that we can take full advantage of adapters with more than 16k of memory. Richard has some other changes he's working on to improve performance, but this should get ee16 support working reliably again. Thanks to Wes Santee <wes@bogon.net> for testing these patches. Submitted by: Richard Straka <straka@user1.inficad.com> Notes: svn path=/head/; revision=25971
* New name for the EtherExpress register file.Justin T. Gibbs1997-04-141-0/+80
| | | | Notes: svn path=/head/; revision=24910
* Add Intel EtherExpress16 support into the ie driver, removing the needJustin T. Gibbs1997-04-141-100/+496
| | | | | | | | | | | | | for the ix driver. Add a shutdown hook that resets the etherexpress so that Windoze can find the card after a warm boot. Submitted by: Aaron Smith <aaron@tau.veritas.com> Obtained From: NetBSD Notes: svn path=/head/; revision=24909
* 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-223-3/+3
| | | | | | | ready for it yet. Notes: svn path=/head/; revision=22975
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-143-3/+3
| | | | | | | | | | | 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-23/+19
| | | | | | | | | | 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
* Remove devconf, it never grew up to be of any use.Poul-Henning Kamp1996-09-061-26/+1
| | | | Notes: svn path=/head/; revision=18084
* Added #include of <machine/md_var.h>. This will be needed whenBruce Evans1996-06-251-1/+2
| | | | | | | | some declarations are moved from <machine/cpufunc.h> to better places. Notes: svn path=/head/; revision=16733
* Removed unused #includes of <i386/isa/icu.h> and <i386/isa/icu.h>. icu.hBruce Evans1996-06-181-3/+1
| | | | | | | | | | is only used by the icu support modules and by a few drivers that know too much about the icu (most only use it to convert `n' to `IRQn'). isa.h is only used by ioconf.c and by a few drivers that know too much about isa addresses (a few have to, because config is deficient). Notes: svn path=/head/; revision=16471