summaryrefslogtreecommitdiffstats
path: root/sys/dev/ed
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* PR: i386/6040danny1998-03-171-1/+2
| | | | | Submitted by: nakagawa@jp.freebsd.org Add new PCI NE2000 (VIA VT86C926)
* Add PCI device ID of Surecom NE-34se1998-02-271-1/+2
|
* 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>.
* Add Winbond W89C940 ID to the list.msmith1997-11-221-1/+2
| | | | Submitted by: Micha Class <michael_class@hpbbse.bbn.hp.com>
* - 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).
* Add the NetVin 5000 series NE2000 PCI card vendor and device IDs.danny1997-08-141-1/+2
|
* Removed unused #includes.bde1997-07-201-12/+1
|
* Rearrange pci network card identification for easier additions.davidn1997-04-181-13/+18
| | | | Added KTI NE2000 clone.
* 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-223-3/+3
| | | | ready for it yet.
* really minor cleanupjulian1997-02-111-1/+1
| | | | sc is set to ifp->if_softc so use it..
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-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.
* Use the new if_multiaddrs list for multicast addresses rather than thewollman1997-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).
* Add PCI IDs of the ProLAN and Compex PCI NE2000 clones.se1996-12-211-8/+11
| | | | Based on information sent by Peter Mutsaers <plm@xs4all.nl>.
* 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).
* 1) Implement SIOCSIFMTU in ether_ioctl(), and change ether_ioctl's returndg1996-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().
* PR kern/2141:phk1996-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>
* Fix RFC 1650 stats... should have read the doco more carefully.wollman1996-11-151-4/+1
| | | | | | Fixes PR#2011 Submitted by: seki@sysrap.cs.fujitsu.co.jp
* This patch attempts to make the pccard probe in if_ed.c work withnate1996-10-171-96/+24
| | | | | | | non-memory-mapped cards. Submitted by: Michael Smith <msmith@atrad.adelaide.edu.au> Reviewed by: phk,dg
* Updated #includes to 4.4lite style.bde1996-10-151-2/+2
|
* Implement the RFC 1650 MIB.wollman1996-10-111-6/+64
|
* Remove devconf, it never grew up to be of any use.phk1996-09-061-65/+2
|
* Use "" instead of <> for a header in the current directory.bde1996-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.
* This diff adds support for the HP PC Lan+ cards (model numbers: 27247Bdg1996-08-072-32/+778
| | | | | | and 27252A) in FreeBSD's `ed' driver. Submitted by: A JOSEPH KOSHY <koshy@india.hp.com>
* Megacommit to straigthen out ETHER_ mess.phk1996-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 :-(
* Replace about 60 lines of code with a call to ether_ioctl().phk1996-08-041-80/+9
| | | | This can be done for most of our ethernet drivers.
OpenPOWER on IntegriCloud