aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ed
Commit message (Collapse)AuthorAgeFilesLines
* Back out DIAGNOSTIC changes.Eivind Eklund1998-02-061-2/+1
| | | | Notes: svn path=/head/; revision=33134
* Add PnP support to if_ed.c.Eivind Eklund1998-02-051-4/+113
| | | | Notes: svn path=/head/; revision=33110
* Turn DIAGNOSTIC into a new-style option.Eivind Eklund1998-02-041-1/+2
| | | | Notes: svn path=/head/; revision=33108
* Make INET a proper option.Eivind Eklund1998-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>. Notes: svn path=/head/; revision=32350
* Add Winbond W89C940 ID to the list.Mike Smith1997-11-221-1/+2
| | | | | | | Submitted by: Micha Class <michael_class@hpbbse.bbn.hp.com> Notes: svn path=/head/; revision=31347
* - Renamed <pccard/card.h> -> <pccard/cardinfo.h>.Nate Williams1997-11-201-2/+2
| | | | | | | | Forgotten by: me Reminded by: Bruce Notes: svn path=/head/; revision=31311
* Remove a bunch of variables which were unused both in GENERIC and LINT.Poul-Henning Kamp1997-11-071-2/+1
| | | | | | | Found by: -Wunused Notes: svn path=/head/; revision=31016
* Sigh, kill setting of 0WS...it breaks more machines than it fixes.David Greenman1997-11-021-4/+3
| | | | Notes: svn path=/head/; revision=30892
* The previous change added a use of the DATA_SET macro, but forgotJohn Polstra1997-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. Notes: svn path=/head/; revision=30824
* - Instead of relying on a functional call to register PCARD-capable drivers,Nate Williams1997-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 Notes: svn path=/head/; revision=30747
* - Functional changes to PCCARD support.Nate Williams1997-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.) Notes: svn path=/head/; revision=30721
* - Do a bunch of gratuitous changes intended to make the code easier toNate Williams1997-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 Notes: svn path=/head/; revision=30720
* Backed out part of a previous change: don't set ZWS on '790 chips; it hasDavid Greenman1997-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. Notes: svn path=/head/; revision=30084
* Change the address for the low end of what we permit from c0000 downDavid Greenman1997-09-101-2/+2
| | | | | | | | to a0000 so that people can put their cards in the middle of their video memory if they want. :-) Notes: svn path=/head/; revision=29261
* Added a check for the ISA memory address range being valid. Fixes PR#835.David Greenman1997-09-081-2/+9
| | | | Notes: svn path=/head/; revision=29226
* Turn on the 0WS option for 16bit cards. Newer machines insert enoughDavid Greenman1997-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. Notes: svn path=/head/; revision=29221
* 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
* Add the NetVin 5000 series NE2000 PCI card vendor and device IDs.Daniel O'Callaghan1997-08-141-1/+2
| | | | Notes: svn path=/head/; revision=28210
* Removed unused #includes.Bruce Evans1997-07-201-12/+1
| | | | Notes: svn path=/head/; revision=27555
* Rearrange pci network card identification for easier additions.David Nugent1997-04-181-13/+18
| | | | | | | Added KTI NE2000 clone. Notes: svn path=/head/; revision=24995
* 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
* really minor cleanupJulian Elischer1997-02-111-1/+1
| | | | | | | sc is set to ifp->if_softc so use it.. Notes: svn path=/head/; revision=22557
* 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-27/+12
| | | | | | | | | | 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
* Add PCI IDs of the ProLAN and Compex PCI NE2000 clones.Stefan Eßer1996-12-211-8/+11
| | | | | | | Based on information sent by Peter Mutsaers <plm@xs4all.nl>. Notes: svn path=/head/; revision=20723
* Convert the interface address and IP interface address structuresGarrett Wollman1996-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). Notes: svn path=/head/; revision=20407
* 1) Implement SIOCSIFMTU in ether_ioctl(), and change ether_ioctl's returnDavid Greenman1996-12-101-13/+3
| | | | | | | | | | | | type to be int so that errors can be returned. 2) Use the new SIOCSIFMTU ether_ioctl support in the few drivers that are using ether_ioctl(). 3) In if_fxp.c: treat if_bpf as a token, not as a pointer. Don't bother testing for FXP_NTXSEG being reached in fxp_start()...just check for non-NULL 'm'. Change fxp_ioctl() to use ether_ioctl(). Notes: svn path=/head/; revision=20276
* PR kern/2141:Poul-Henning Kamp1996-12-031-1/+2
| | | | | | | | | | | | | | function ed_attach_NE2000_pci() in if_ed.c passes an uninitialized block of memory (got with malloc()) to ed_attach. This prevents a proper initialization of the device descriptor and in my case causes a panic during the probe, while printing out device info. Reviewed by: phk Submitted by: Luigi Rizzo <luigi@iet.unipi.it> Notes: svn path=/head/; revision=20116
* Fix RFC 1650 stats... should have read the doco more carefully.Garrett Wollman1996-11-151-4/+1
| | | | | | | | | Fixes PR#2011 Submitted by: seki@sysrap.cs.fujitsu.co.jp Notes: svn path=/head/; revision=19780
* This patch attempts to make the pccard probe in if_ed.c work withNate Williams1996-10-171-96/+24
| | | | | | | | | | non-memory-mapped cards. Submitted by: Michael Smith <msmith@atrad.adelaide.edu.au> Reviewed by: phk,dg Notes: svn path=/head/; revision=18979
* Updated #includes to 4.4lite style.Bruce Evans1996-10-151-2/+2
| | | | Notes: svn path=/head/; revision=18946
* Implement the RFC 1650 MIB.Garrett Wollman1996-10-111-6/+64
| | | | Notes: svn path=/head/; revision=18869
* Remove devconf, it never grew up to be of any use.Poul-Henning Kamp1996-09-061-65/+2
| | | | Notes: svn path=/head/; revision=18084
* Use "" instead of <> for a header in the current directory.Bruce Evans1996-08-281-7/+2
| | | | | | | | Don't #include an unused header from i386/isa. Headers from there shouldn't be included in "isa-independent" files anyway. Notes: svn path=/head/; revision=17877
* This diff adds support for the HP PC Lan+ cards (model numbers: 27247BDavid Greenman1996-08-072-32/+778
| | | | | | | | | and 27252A) in FreeBSD's `ed' driver. Submitted by: A JOSEPH KOSHY <koshy@india.hp.com> Notes: svn path=/head/; revision=17465
* Megacommit to straigthen out ETHER_ mess.Poul-Henning Kamp1996-08-061-9/+4
| | | | | | | | I'm pretty convinced after looking at this that the majority of our drivers are confused about the in/exclusion of ETHER_CRC_LEN :-( Notes: svn path=/head/; revision=17455
* Replace about 60 lines of code with a call to ether_ioctl().Poul-Henning Kamp1996-08-041-80/+9
| | | | | | | This can be done for most of our ethernet drivers. Notes: svn path=/head/; revision=17416
* 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-2/+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
* The Great PC98 Merge.Satoshi Asami1996-06-141-1/+5
| | | | | | | | | | | All new code is "#ifdef PC98"ed so this should make no difference to PC/AT (and its clones) users. Ok'd by: core Submitted by: FreeBSD(98) development team Notes: svn path=/head/; revision=16363
* Detach the device at shutdown.Alexander Langer1996-06-111-6/+4
| | | | | | | | Add a prototype for ed_attach_NE2000_pci (this really belongs somewhere else, but where?). Notes: svn path=/head/; revision=16289
* Clean up the warnings produced by the recent PCI code. Requested byGary Palmer1996-05-271-1/+3
| | | | | | | SE since he doesn't have good access right now Notes: svn path=/head/; revision=15943
* Add support for NE2000 compatible PCI Ethernet cards. The PCI probeStefan Eßer1996-05-182-25/+185
| | | | | | | | | | | | | | | | | is enabled by having an "device ed0 at isa? [...]" config line. The first PCI card will get a unit number one higher than the highest defined for any ISA card of the ED type, e.g. if ed0 and ed1 are configured, then the PCI cards will be ed2, ed3, ... BEWARE: If you have configured your kernel as ed0 with the port address as assigned by the PCI BIOS, then your card will be found by both the PCI and ISA probes, and bad things may happen. Make sure to restore the original port address form the GENERIC kernel for the ed0 device! Reviewed by: davidg Notes: svn path=/head/; revision=15813
* Format the already applied PCCARD additions to use KNF form. NoNate Williams1996-04-231-41/+41
| | | | | | | functional changes. Notes: svn path=/head/; revision=15363
* Killed sections 3 and 4 of my copyright as I think it is unnecessarilyDavid Greenman1996-04-081-6/+1
| | | | | | | restrictive. Notes: svn path=/head/; revision=15130
* Fix a bogus message:Joerg Wunsch1996-03-311-2/+2
| | | | | | | | ed0: Invalid irq configuration (2) must be 2-5 for 3c503 ^ ^ Notes: svn path=/head/; revision=14950
* Clean up Ethernet drivers:Garrett Wollman1996-02-061-13/+14
| | | | | | | | | | | - 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 Notes: svn path=/head/; revision=13937
* Fix a bunch of spelling errors in the comment fields ofMike Pritchard1996-01-301-9/+9
| | | | | | | a bunch of system include files. Notes: svn path=/head/; revision=13765
* Use new printf features rather than local kludges.Poul-Henning Kamp1996-01-241-3/+3
| | | | Notes: svn path=/head/; revision=13619