summaryrefslogtreecommitdiff
path: root/sys/dev/ed
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create branch 'RELENG_3'.cvs2svn1999-01-213-4668/+0
| | | | Notes: svn path=/stable/3/; revision=42951
* Update the pccard hooks to use a module style declaration instead.Peter Wemm1999-01-191-12/+3
| | | | Notes: svn path=/head/; revision=42820
* pci_device pd_probe function changed from returning char * to returningMatthew Dillon1998-12-141-3/+3
| | | | | | | | | const char *. Originally I was going to add casts from const char * to char * in some of the pci device drivers, but the reality is that the pci device probes return constant quoted strings. Notes: svn path=/head/; revision=41766
* Remove warning introduced by the last committer.Eivind Eklund1998-12-131-2/+2
| | | | Notes: svn path=/head/; revision=41738
* Initialize isa_devtab entries for interrupt handlers in individualBruce Evans1998-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 Notes: svn path=/head/; revision=40565
* Discard previous commit.KATO Takenori1998-10-081-14/+1
| | | | Notes: svn path=/head/; revision=40072
* Add SMC EtherEZ98 support to ed driver (PC-98).KATO Takenori1998-10-081-1/+14
| | | | | | | | Reviewed by: kato Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) Notes: svn path=/head/; revision=40068
* Support PnP compatibility IDs. This allow e.g. the ed driver to pickEivind Eklund1998-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> Notes: svn path=/head/; revision=39144
* Fixed printf format errors. Only one left in LINT on i386's.Bruce Evans1998-08-241-2/+2
| | | | Notes: svn path=/head/; revision=38505
* Removed unused includes.Bruce Evans1998-06-211-2/+1
| | | | Notes: svn path=/head/; revision=37101
* Include <i386/isa/pnp.h> after including its prerequisiteBruce Evans1998-06-171-5/+5
| | | | | | | | <i386/isa/isa_device.h> - don't depend on pollution in <sys/conf.h> including the prerequisite earlier. Notes: svn path=/head/; revision=37032
* This commit fixes various 64bit portability problems required forDoug Rabson1998-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. Notes: svn path=/head/; revision=36735
* Seventy-odd "its" / "it's" typos in comments fixed as per kern/6108.Dag-Erling Smørgrav1998-04-171-2/+2
| | | | Notes: svn path=/head/; revision=35256
* Support compiling with `gcc -ansi'.Bruce Evans1998-04-151-8/+8
| | | | Notes: svn path=/head/; revision=35210
* Don't use fast interrupts when initialized through PnP. if_ed doesEivind Eklund1998-03-291-2/+1
| | | | | | | | | not support fast interrupts. Noticed by: bde Notes: svn path=/head/; revision=34936
* Removed unused #includes.Bruce Evans1998-03-281-11/+1
| | | | Notes: svn path=/head/; revision=34928
* PR: i386/6040Daniel O'Callaghan1998-03-171-1/+2
| | | | | | | | Submitted by: nakagawa@jp.freebsd.org Add new PCI NE2000 (VIA VT86C926) Notes: svn path=/head/; revision=34645
* Add PCI device ID of Surecom NE-34Stefan Eßer1998-02-271-1/+2
| | | | Notes: svn path=/head/; revision=33893
* Support for "MAC address in CIS" type cards.Tatsumi Hosokawa1998-02-271-1/+9
| | | | | | | | For example, IBM Creditcard Ethernet's MAC address is ALWAYS "0:2:4:6:8:a" :-) without this code. Notes: svn path=/head/; revision=33873
* PCCARD-code related style nits, as requested.Mike Smith1998-02-271-14/+14
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=33864
* Fix some style nits and remove an unused header.Mike Smith1998-02-271-2/+1
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=33860
* 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