summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_zp.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Make these actually compile. I got a little delete happy pruning includesmdodd1999-08-181-2/+6
| | | | | | | 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-67/+7
| | | | | | | | 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
|
* Set ifq_maxlen to eliminate "zp0 XXX: driver didn't set ifq_maxlen"imp1999-04-191-1/+2
| | | | | | | message on boot. I know this driver is depricated, but I need to use it for a little while.
* Spell David correctly.steve1999-03-081-2/+2
|
* 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
* 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.
* code was using wrong temporary variable "i", in place of "j".jmb1998-05-261-2/+2
| | | | | | | | | | | i contains the contents of the EP_W0_CONFIG_CTRL register. i was being used as the array index into an array on the stack. j is initialized to 0 as it should be. PR: kern/6757 Reviewed by: jmb Submitted by: Stephane E. Potvin <sepotvin@videotron.ca>
* 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.)
* Rename some local variables to avoid shadowing other local variables.phk1997-11-071-4/+4
| | | | Found by: -Wshadow
* - 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
* aha1542.c aic6360.c cy.c fd.c ft.cgibbs1997-09-211-4/+18
| | | | | | | | | | | | 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.
* Removed unused #includes.bde1997-07-201-9/+1
|
* - Better fix for 3C589D support. Revert previous changes and add anate1997-04-211-1/+2
| | | | | | | delay after we reset the card to allow the card to come back to life. It appears the newer card takes longer to reset. Submitted by: Samuel Lam <skl@ScalableNetwork.com>
* Quick and dirty attempt to get the zp device to work with the 3c589D.nate1997-04-171-2/+2
| | | | | | | | | Increase the delay in read_eeprom_data() by two orders of magnitude. > A better fix would be to make read_eeprom_data() call > f_is_eeprom_busy() after the DELAY(). Submitted by: Samuel Lam <skl@ScalableNetwork.com>
* 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).
* Fixed pessimized (short) i/o port type.bde1996-11-111-2/+2
| | | | | | The change in if_epreg.h affects if_epreg.o and 3c5x9.o. These changes are probably harmless, but I can't test them.
* Fixed so that the card will go into promiscuous mode for BPF.nate1996-09-111-3/+2
| | | | Submitted by: Bill Kish <kish@osf.org>
* Disable 'suspend' as it tends to lockup computers with the current APMnate1996-09-071-1/+3
| | | | driver.
* 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.
* 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 -Wunused warnings.gpalmer1996-06-121-3/+1
| | | | Reviewed by: bde
* Bring in changes from if_ep.c for PCCARD driver.nate1996-06-041-2/+2
| | | | | Properly determine the offset of the remaining bytes we need to transfer after outsl'ing all the long words we can during transmission in 32bit mode.
* Now that ac->ac_ipaddr and arpwhohas() no longer exist, remove thenate1996-03-231-6/+1
| | | | ifdef'd out code that used it.
* Fix for 3C589C model. This patch allows people with the new models to work andnate1996-02-281-1/+3
| | | | | | | doesn't break support for the older models (tested with my 3C589B). Reviewed by: Joshua Gahm <jgahm@BBN.COM> Submitted by: hosokawa@mt.cs.keio.ac.jp (HOSOKAWA Tatsumi)
* Clean up Ethernet drivers:wollman1996-02-061-24/+10
| | | | | | | | - 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-2/+2
| | | | | Sorry for the delay. (%D is for hexdumping.)
* Remove MACH_KERNEL, ORIGINAL, and ZP_DEBUG,phk1995-12-131-1740/+777
| | | | I should have done this before it was imported.
* all:dg1995-12-051-11/+8
| | | | | | | | | | | | | | | | 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-7/+12
| | | | | | | | Completed function declarations. Added prototypes. Partially fixed the path to cons.h.
* Remove unused functions and variables, make things static, and other cleanups.phk1995-10-281-145/+3
|
* Reviewed by: julian and jhay@mikom.csir.co.zajulian1995-10-261-1/+24
| | | | | | | | | | | | | | | | | | | | | 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.)
* Fix the 3C589 driver to work with the BNC connector.nate1995-08-161-3/+7
| | | | | | | | Note, I tested this on a NEC Versa, IBM 750C, and a IBM 755CX w/out problems. The card still works fine in TP mode. Submitted by: schwarz@alpharel.com (Steve Schwarz) Reviewed by: jleppek@suw2k.ess.harris.com (James Leppek)
* Change memcmp() to bcmp(). memcmp() isn't declared or implementedbde1995-07-251-3/+3
| | | | | for the kernel, but gcc provides an inline version of it if the kernel is compiled with -O.
OpenPOWER on IntegriCloud