summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_ze.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove NBPF conditionality of bpf calls in most of our network drivers.phk1999-09-251-13/+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.
* if_edreg.h moved...phk1999-09-201-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* 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-85/+6
| | | | | | | | 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-8/+8
|
* Fix up a few easy 'assignment used as truth value' and 'suggest parenspeter1999-05-061-2/+2
| | | | | around && within ||' type warnings. I'm pretty sure I have not masked any problems here, I've committed real problem fixes seperately.
* Add sufficient braces to keep egcs happy about potentially ambiguouspeter1999-05-061-3/+3
| | | | if/else nesting.
* The "easy" fixes for compiling the kernel -Wunused: remove unreferenced staticarchie1998-12-071-1/+3
| | | | 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-2/+3
| | | | Ifdefed conditionally used includes.
* 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-7/+8
|
* Removed unused #includes.bde1998-03-281-3/+1
|
* Don't generate warnings for test coverage checking when compiling LINT.bde1998-02-131-7/+6
| | | | Generate code instead.
* Change LINT_PCCARD_HACK to COMPILING_LINT, and put it in its own header fileeivind1998-02-041-2/+4
| | | | | "opt_lint.h". This should prevent the next person needing the same trick from inventing their own option, too.
* 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.)
* - Do a bunch of gratuitous changes intended to make the code easier tonate1997-10-261-3/+3
| | | | | | | | | | | | 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
* Omit printout of imen, INTRGET() is not MP-safe yet...fsmp1997-07-201-2/+7
|
* Removed unused #includes.bde1997-07-201-10/+1
|
* informal discussion between Bruce Evans <bde@zeta.org.au>,fsmp1997-04-271-15/+1
| | | | | | | | | | | | Peter Wemm <peter@spinner.DIALix.COM>, Steve Passe <smp@csn.net> removed all the IPI_INTS code. made the XFAST_IPI32 code default, renaming Xfastipi32 to Xinvltlb. cleanup of i386/isa/isa_device.h to eliminate SMP dependancies: made the id_irq member of struct isa_device an u_int. made the id_drq member of struct isa_device an int. removed all other '#ifdefs' concerning SMP & APIC_IO. removed SMP/APIC_IO dependancies from if_ze.c.
* Man the liferafts! Here comes the long awaited SMP -> -current merge!peter1997-04-261-1/+15
| | | | | | | | | | | | | | | | There are various options documented in i386/conf/LINT, there is more to come over the next few days. The kernel should run pretty much "as before" without the options to activate SMP mode. There are a handful of known "loose ends" that need to be fixed, but have been put off since the SMP kernel is in a moderately good condition at the moment. This commit is the result of the tinkering and testing over the last 14 months by many people. A special thanks to Steve Passe for implementing the APIC code!
* 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.
* Changed #include order to match better order in 2.2.bde1997-02-131-1/+1
|
* 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.
* Just 'warn' the user that they are mixing dedicated drivers and genericnate1997-01-131-1/+5
| | | | | | | code if the option 'LINT_PCCARD_HACK' is specified (which should only be used in LINT). Demanded by: bde
* Someone needs to teach Nate about the C pre-processor in general and thejkh1996-12-231-2/+2
| | | | | | | | | | workings of #error in particular. He also broke the 2.2 build with this change, leading me to wonder whether or not the changes were ever even tested. Folks, I'm happy to see people work directly on 2.2 like this and will continue to encourage Nate to make direct commits, but please TEST before committing! I think that's a more than reasonable prerequisite, and this code could never have worked at all, leading me to believe that Nate skipped this most basic of steps.
* PCCARD support safety belts.nate1996-12-211-1/+8
| | | | | | | | Don't allow people to use the 'dedicated' drivers at the same time as the generic support code, as it can cause all sorts of problems including kernel crashes. [ definite 2.2 material ]
* 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).
* Megacommit to straigthen out ETHER_ mess.phk1996-08-061-6/+1
| | | | | I'm pretty convinced after looking at this that the majority of our drivers are confused about the in/exclusion of ETHER_CRC_LEN :-(
* Don't use NULL in non-pointer contexts.bde1996-07-121-2/+2
|
* 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.
* Clean up -Wunused warnings.gpalmer1996-06-121-3/+1
| | | | Reviewed by: bde
* Clean up Ethernet drivers:wollman1996-02-061-34/+11
| | | | | | | | - 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-3/+3
| | | | | Sorry for the delay. (%D is for hexdumping.)
* Staticize.phk1995-12-171-2/+2
| | | | | | | | | | | | Unstaticize a function in scsi/scsi_base that was used, with an undocumented option. My last count on the LINT kernel shows: Total symbols: 3647 unref symbols: 463 undef symbols: 4 1 ref symbols: 1751 2 ref symbols: 485 Approaching the pain threshold now.
* Staticize.phk1995-12-131-23/+23
|
* all:dg1995-12-051-13/+11
| | | | | | | | | | | | | | | | 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 types of the apm hook functions.bde1995-11-181-15/+27
| | | | | | Completed function declarations. Added prototypes.
* Remove unused functions and variables, make things static, and other cleanups.phk1995-10-281-14/+4
|
* Reviewed by: julian and jhay@mikom.csir.co.zajulian1995-10-261-1/+32
| | | | | | | | | | | | | | | | | | | | | 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-2/+2
| | | | | dropped for 4.4, but for some reason this flag lived on. (Until today, that is.)
* if_ze.c was derived from if_ed.c about 42 (!) versions ago. It is nowphk1995-09-261-80/+71
| | | | | | | scheduled for demolition. This is a first step: get rid of if_zereg.h, by adding the five extra definitions to if_edreg.h. Also add some definitions which will become needed when if_ze.c gets replaced entirely by pccard and if_ed.c. (this is a 2.1.0 candidate)
* Make everything except the unsupported network sources compile cleanlybde1995-08-161-2/+4
| | | | with -Wnested-externs.
* Change memcmp() to bcmp(). memcmp() isn't declared or implementedbde1995-07-251-5/+5
| | | | | for the kernel, but gcc provides an inline version of it if the kernel is compiled with -O.
* Remove trailing whitespace.rgrimes1995-05-301-37/+37
|
* Enclosed is a patch for if_ze.c which will allow it to operate withdg1995-05-241-2/+7
| | | | | | | | | the National Semiconductor InfoMover PCMCIA cards also. In tests on a NE4100 on Jordan's laptop here, the ze driver works fine with that card. Reviewed by: Jordan Hubbard, Rod Grimes, and me Submitted by: Gary Palmer
* Fixed a hard-coded slot number which crept in.phk1995-05-031-2/+2
|
OpenPOWER on IntegriCloud