summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_ie.c
Commit message (Collapse)AuthorAgeFilesLines
* 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-281-1/+1
|
* 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
|
* 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.
* Support compiling with `gcc -ansi'.bde1998-04-151-10/+10
|
* Removed unused #includes.bde1998-03-281-3/+1
|
* Staticize.eivind1998-02-091-6/+6
|
* 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.)
* Hide a silly ``unknown board type'' message behind bootverbose. Thejoerg1997-10-151-3/+4
| | | | ``ie0: not found'' message is sufficient as a default.
* aha1542.c aic6360.c cy.c fd.c ft.cgibbs1997-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.
* Added used #include - don't depend on <sys/mbuf.h> includingbde1997-09-021-1/+2
| | | | <sys/malloc.h> (unless we only use the bogusly shared M*WAIT flags).
* Removed unused #includes.bde1997-07-201-10/+1
|
* KNF cleanup.gibbs1997-06-271-1585/+1593
|
* Several bug fixes for the ee16 support from Richard Straka: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>
* Add Intel EtherExpress16 support into the ie driver, removing the needgibbs1997-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
* 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-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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-24/+20
| | | | | | | 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).
* Remove devconf, it never grew up to be of any use.phk1996-09-061-26/+1
|
* Added #include of <machine/md_var.h>. This will be needed whenbde1996-06-251-1/+2
| | | | | some declarations are moved from <machine/cpufunc.h> to better places.
* Removed unused #includes of <i386/isa/icu.h> and <i386/isa/icu.h>. icu.hbde1996-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).
* Clean up Ethernet drivers:wollman1996-02-061-36/+16
| | | | | | | | - fill in and use ifp->if_softc - use if_bpf rather than private cookie variables - change bpf interface to take advantage of this - call ether_ifattach() directly from Ethernet drivers - delete kludge in if_attach() that did this indirectly
* The last part of the ether_sprint -> %6D change.phk1996-01-261-5/+5
| | | | | Sorry for the delay. (%D is for hexdumping.)
* Staticize and cleanup.phk1995-12-101-5/+6
|
* all:dg1995-12-051-3/+1
| | | | | | | | | | | | | | | | Removed ifnet.if_init and ifnet.if_reset as they are generally unused. Change the parameter passed to if_watchdog to be a ifnet * rather than a unit number. All of this is an attempt to move toward not needing an array of softc pointers (which is usually static in size) to point to the driver softc. if_ed.c: Changed some of the argument passing to some functions to make a little more sense. if_ep.c, if_vx.c: Killed completely bogus use of if_timer. It was being set in such a way that the interface was being reset once per second (blech!).
* Fixed the type of a timeout function.bde1995-11-181-2/+8
| | | | Added prototypes.
* Reviewed by: julian and jhay@mikom.csir.co.zajulian1995-10-261-1/+28
| | | | | | | | | | | | | | | | | | | | | Submitted by: Mike Mitchell, supervisor@alb.asctmd.com This is a bulk mport of Mike's IPX/SPX protocol stacks and all the related gunf that goes with it.. it is not guaranteed to work 100% correctly at this time but as we had several people trying to work on it I figured it would be better to get it checked in so they could all get teh same thing to work on.. Mikes been using it for a year or so but on 2.0 more changes and stuff will be merged in from other developers now that this is in. Mike Mitchell, Network Engineer AMTECH Systems Corporation, Technology and Manufacturing 8600 Jefferson Street, Albuquerque, New Mexico 87113 (505) 856-8000 supervisor@alb.asctmd.com
* Say goodbye to IFF_NOTRAILERS. Support for trailers was officiallywollman1995-10-131-4/+2
| | | | | dropped for 4.4, but for some reason this flag lived on. (Until today, that is.)
* Fix benign type mismatches in isa interrupt handlers. Many returned intbde1995-09-191-4/+2
| | | | instead of void.
* Make everything except the unsupported network sources compile cleanlybde1995-08-161-2/+2
| | | | with -Wnested-externs.
* Remove trailing whitespace.rgrimes1995-05-301-49/+49
|
* Add a class field to devconf and mst drivers.wollman1995-04-121-6/+8
| | | | | | | | | | | | For those where it was easy, drivers were also fixed to call dev_attach() during probe rather than attach (in keeping with the new design articulated in a mail message five months ago). For a few that were really easy, correct state tracking was added as well. The `fd' driver was fixed to correctly fill in the description. The CPU identify code was fixed to attach a `cpu' device. The code was also massively reordered to fill in cpu_model with somethingremotely resembling what identifycpu() prints out. A few bytes saved by using %b to format the features list rather than lots of ifs.
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-281-1/+3
| | | | | (except in netccitt, netiso and netns) that I didn't notice when I fixed "all" such warnings before.
* Removed redundant newlines that were in some panic strings.dg1995-03-191-2/+2
|
OpenPOWER on IntegriCloud