summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_ed.c
Commit message (Collapse)AuthorAgeFilesLines
* rearrange order of tests for NE1000, NE2000, and Linksysjmb1999-11-011-16/+22
| | | | | cards. previous order caused computers with NE2000 cards to hang during boot.
* add support for LinkSys 10/100 cardsjmb1999-10-261-4/+39
| | | | | | new code is conditionalized by the vendor's ethernet OUI Obtained from: PAO Project
* Remove NBPF conditionality of bpf calls in most of our network drivers.phk1999-09-251-15/+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.
* Make if_ed work again on pci, isa, isapnp. The hack to make it work onpeter1999-09-201-2/+2
| | | | | | PCCARD is pretty revolting but should buy us time while the pccard driver angle is sorted out. A commit for the MCA ed attachment will follow shortly.
* Make `ed' PC-Cards work again. It has been over two weeks that laptopobrien1999-09-191-470/+384
| | | | | | | | | | | | users have suffered from this breakage, w/o commitment from someone that they would fix the problems. This effectively backs out revs 1.{157-160}. It does however fix the build problem that caused 1.157 to be committed. If the changes from rev 1.156-1.160 can't be fully tested by the committer, may I offer posting a diff in the freebsd-current mailing list for broader testing before inflicting this breakage again.
* The sense of probes has inverted. They return an error, rather thanpeter1999-09-131-7/+7
| | | | | | | true/false. Fix ed_probe_HP_pclanp() so that it doesn't "succeed" on non-existing hardware. Submitted by: Mark Hittinger <bugs@freebsd.netcom.com>
* Change isa_get/set_flags() to device_get/set_flags().dfr1999-09-071-5/+5
|
* Commit a checkpoint of an updated if_ed driver. This is pretty muchpeter1999-09-031-394/+470
| | | | | | Doug Rabson's work, with a few tweaks from Warner Losh and I. There are still some quirks to resolve, but the old driver is presently breaking the build.
* - Added new macros ED_P1_MAR(i) and ED_P1_PAR(i) that replacekato1999-09-021-4/+4
| | | | | | | | `ED_P1_MAR + i' and `ED_P1_PAR + i', respectively. - convert ED_PC_RESET and ED_PC_MISC into relative offset from ED_PC_ASIC_OFFSET (those macros are not used in current source). Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
* The ed_probe_Novell should not clear id_maddr when it fails to probe.kato1999-09-021-2/+6
| | | | | | This fixes potential panic by kvtop at addr == 0. Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Rename bpfilter to bpf.des1999-07-061-8/+8
|
* #ifdef BRIDGE around a goto label used by the bridge code to silcence apeter1999-05-091-1/+3
| | | | warning.
* Bring the 'new-bus' to the i386. This extensively changes the way thepeter1999-04-161-5/+2
| | | | | | | | | | | | | | | | | | i386 platform boots, it is no longer ISA-centric, and is fully dynamic. Most old drivers compile and run without modification via 'compatability shims' to enable a smoother transition. eisa, isapnp and pccard* are not yet using the new resource manager. Once fully converted, all drivers will be loadable, including PCI and ISA. (Some other changes appear to have snuck in, including a port of Soren's ATA driver to the Alpha. Soren, back this out if you need to.) This is a checkpoint of work-in-progress, but is quite functional. The bulk of the work was done over the last few years by Doug Rabson and Garrett Wollman. Approved by: core
* MF22... add bridging support to the device drivers. Without thisluigi1999-03-171-14/+59
| | | | bridging cannot work on -current/releng3!
* Fix warnings in preparation for adding -Wall -Wcast-qual to thedillon1999-01-281-3/+3
| | | | kernel compile
* Update the pccard hooks to use a module style declaration instead.peter1999-01-191-12/+3
|
* Remove warning introduced by the last committer.eivind1998-12-131-2/+2
|
* Initialize isa_devtab entries for interrupt handlers in individualbde1998-10-221-2/+4
| | | | | | | 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
* Support PnP compatibility IDs. This allow e.g. the ed driver to pickeivind1998-09-131-10/+7
| | | | | | | up any PnP NE2000 compatible card, instead of forcing us to always update ID lists. Submitted by: Ugo Paternostro <paterno@dsi.unifi.it>
* Fixed printf format errors. Only one left in LINT on i386's.bde1998-08-241-2/+2
|
* Removed unused includes.bde1998-06-211-2/+1
|
* Include <i386/isa/pnp.h> after including its prerequisitebde1998-06-171-5/+5
| | | | | <i386/isa/isa_device.h> - don't depend on pollution in <sys/conf.h> including the prerequisite earlier.
* 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.
* Seventy-odd "its" / "it's" typos in comments fixed as per kern/6108.des1998-04-171-2/+2
|
* Support compiling with `gcc -ansi'.bde1998-04-151-8/+8
|
* Don't use fast interrupts when initialized through PnP. if_ed doeseivind1998-03-291-2/+1
| | | | | | not support fast interrupts. Noticed by: bde
* Removed unused #includes.bde1998-03-281-11/+1
|
* Support for "MAC address in CIS" type cards.hosokawa1998-02-271-1/+9
| | | | | For example, IBM Creditcard Ethernet's MAC address is ALWAYS "0:2:4:6:8:a" :-) without this code.
* PCCARD-code related style nits, as requested.msmith1998-02-271-14/+14
| | | | Submitted by: bde
* Fix some style nits and remove an unused header.msmith1998-02-271-2/+1
| | | | Submitted by: bde
* Back out DIAGNOSTIC changes.eivind1998-02-061-2/+1
|
* Add PnP support to if_ed.c.eivind1998-02-051-4/+113
|
* Turn DIAGNOSTIC into a new-style option.eivind1998-02-041-1/+2
|
* Make INET a proper option.eivind1998-01-081-2/+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>.
* - Renamed <pccard/card.h> -> <pccard/cardinfo.h>.nate1997-11-201-2/+2
| | | | | Forgotten by: me Reminded by: Bruce
* Remove a bunch of variables which were unused both in GENERIC and LINT.phk1997-11-071-2/+1
| | | | Found by: -Wunused
* Sigh, kill setting of 0WS...it breaks more machines than it fixes.dg1997-11-021-4/+3
|
* The previous change added a use of the DATA_SET macro, but forgotjdp1997-10-291-1/+2
| | | | | | | to define it by including <sys/kernel.h>. That broke PC-CARD support for this driver, producing the dreaded "device allocation failed" message. Surprisingly, the missing include caused only two compiler warnings. The compilation still "succeeded" anyway.
* - Instead of relying on a functional call to register PCARD-capable drivers,nate1997-10-261-9/+3
| | | | | | | | use a Linker Set. Note, if a driver is loaded as an LKM if will have to use the function call, but since none of the existing drivers are loadable, this made things cleaner and boot messages nicer. Obtained from: PAO-970616
* - Functional changes to PCCARD support.nate1997-10-261-51/+12
| | | | | | | | | | * Kill individual drivers 'suspend' routines, since there's no simple/safe way to suspend/resume a card w/out going through the complete probe at initialization time. * Default to using the apm_pccard_resume sysctl code, which basically pretends the card was removed, and then re-inserted. Suspend/resume is now 'emulated' with a fake insert/removal. (Hence we no longer need the driver-specific suspend routines.)
* - Do a bunch of gratuitous changes intended to make the code easier tonate1997-10-261-50/+50
| | | | | | | | | | | | 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
* Backed out part of a previous change: don't set ZWS on '790 chips; it hasdg1997-10-031-6/+1
| | | | | | shown to be harmful in that it results in the card not being detected properly on warmboot due to the station address failing to be read correctly from the NVRAM.
* Change the address for the low end of what we permit from c0000 downdg1997-09-101-2/+2
| | | | | to a0000 so that people can put their cards in the middle of their video memory if they want. :-)
* Added a check for the ISA memory address range being valid. Fixes PR#835.dg1997-09-081-2/+9
|
* Turn on the 0WS option for 16bit cards. Newer machines insert enoughdg1997-09-081-18/+27
| | | | | | | | | delay that without this the performance is unacceptable. The 83C690, 83C790, and 83C795 chips which this affects are all designed to work with 0 waitstates in 16bit mode. Also cleaned up the toggling of 16bit access mode that occurs during normal operation; the previous code may not have done the right thing in all cases.
* 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-12/+1
|
* 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.
OpenPOWER on IntegriCloud