aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ep
Commit message (Collapse)AuthorAgeFilesLines
* Back out DIAGNOSTIC changes.Eivind Eklund1998-02-061-2/+1
| | | | Notes: svn path=/head/; revision=33134
* 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-1/+7
| | | | | | | | | | | | | | | 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
* Throw options IPX, IPXIP and IPTUNNEL into opt_ipx.h.Eivind Eklund1997-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.) Notes: svn path=/head/; revision=31742
* Recognize 3C569 network interface when `PC98' is defined.KATO Takenori1997-11-271-2/+7
| | | | | | | Submitted by: HAMADA Naoki <hamada@astec.co.jp> Notes: svn path=/head/; revision=31430
* - 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-5/+1
| | | | | | | Found by: -Wunused Notes: svn path=/head/; revision=31016
* Move the EP_ID_PORT out to 0x110, so it doesn't conflict with other portJoerg Wunsch1997-10-271-2/+16
| | | | | | | | | | | usage at 0x100. Quoted Justin's quotation from the manual as well, to explain the technical background. PR: kern/4559 Submitted by: Stephen J. Roznowski <sjr@home.net> Notes: svn path=/head/; revision=30760
* Fix a comment about multicast; since the Etherlink III has noBill Fenner1997-10-271-4/+7
| | | | | | | multicast filter the driver will never learn how to program it. Notes: svn path=/head/; revision=30753
* - Instead of relying on a functional call to register PCARD-capable drivers,Nate Williams1997-10-261-5/+4
| | | | | | | | | | | 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-29/+7
| | | | | | | | | | | | | * 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-54/+49
| | | | | | | | | | | | | | | 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
* if_ep.c clarification/simplification.Jun-ichiro itojun Hagino1997-10-142-272/+91
| | | | | | | | | | | | | | | | | - irq = 9 problem (PR 4693) - mbuf chaining oddity fixed. (PR 4693) - trailer protocol has gone. (PR 4693) - removed mbuf kludge, we got higher performance. (PR 4693) - some indentation fixes I'm sorry that I couldn't make a 2.2.5-RELEASE deadline. PR: 4693 Reviewed by: babkin@hq.icb.chel.su Submitted by: hamada@tom-yam.or.jp Notes: svn path=/head/; revision=30398
* Add shared EISA interrupt support.Justin T. Gibbs1997-09-211-4/+8
| | | | | | | Clean up the match routines so that they return const char * Notes: svn path=/head/; revision=29674
* 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
* Removed unused #includes.Bruce Evans1997-07-201-11/+1
| | | | Notes: svn path=/head/; revision=27555
* 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
* 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
* Submitted by: Naoki Hamada <nao@sbl.cl.nec.co.jp>KATO Takenori1996-12-191-1/+6
| | | | | | | Support 3COM 3C569 network card on PC98. Notes: svn path=/head/; revision=20673
* Convert the interface address and IP interface address structuresGarrett Wollman1996-12-131-20/+1
| | | | | | | | | 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
* Fixed pessimized (short) i/o port type.Bruce Evans1996-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. Notes: svn path=/head/; revision=19650
* Removed nested include if <sys/socket.h> from <net/if.h> andBruce Evans1996-10-121-1/+2
| | | | | | | | | | <net/if_arp.h> and fixed the things that depended on it. The nested include just allowed unportable programs to compile and made my simple #include checking program report that networking code doesn't need to include <sys/socket.h>. Notes: svn path=/head/; revision=18892
* Staticized. Things exported by linker sets should always be static.Bruce Evans1996-10-121-2/+2
| | | | Notes: svn path=/head/; revision=18887
* Various cleanups for remanents of devconf.Poul-Henning Kamp1996-09-081-3/+1
| | | | Notes: svn path=/head/; revision=18158
* Remove devconf, it never grew up to be of any use.Poul-Henning Kamp1996-09-062-66/+4
| | | | Notes: svn path=/head/; revision=18084
* Megacommit to straigthen out ETHER_ mess.Poul-Henning Kamp1996-08-061-7/+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 :-( Notes: svn path=/head/; revision=17455
* Under the heavy load for transmiting condition, it will be write errorAtsushi Murai1996-07-271-2/+2
| | | | | | | | | | and then never accept for sending packet from upper layer anymore (i.e. ping -f ) Reviewed by: David Greenman <dg@root.com> Submitted by: amurai@spec.co.jp Notes: svn path=/head/; revision=17300
* Add interrupt register set up with original register valueAtsushi Murai1996-07-193-5/+13
| | | | | | | | | | before attaching. Without this fix, 3c579(EISA) never make any H/W inturrupt. Reviewed by: "Justin T. Gibbs" <gibbs@freefall.freebsd.org>, nao@sbl.cl.nec.co.jp and owner-current on mailing list ;-) Submitted by: amurai@spec.co.jp, nao@sbl.cl.nec.co.jp Notes: svn path=/head/; revision=17223
* Enable transmit complete interrupt...David Greenman1996-07-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | (author's explaination): Bit 15 is the flag to request a transmit complete interrupt. The driver was apparently written to minimize interrupts, and if not for a 3-COM design quirk, everything would be just ducky. Prior to loading the outbound packet into the FIFO, the driver checks to see if there's enough space to contain the packet. If not, the driver requests a transmit-available interrupt when there is sufficient room. Unfortunately, the card is continuing to process the prior FIFO, and by the time the driver sets the threshold for a transmit available interrupt, the space is already available. When this occurs, the 3COM card ignores the interrupt request, and the driver is hung waiting for an interrupt that will never occur. There's probably a more elegant solution, but requesting the transmit complete interrupt was the easiest to implement. An alternative fix might be to check free FIFO space again, after requesting the transmit available interrupt, but I haven't bothered pursuing this. Since the patch, my 3C590 (PCI, same FIFO interface as 3C509) has been rock solid. Submitted by: mevans@candle.com (Mike Evans) Notes: svn path=/head/; revision=17158
* Removed unused #includes of <i386/isa/icu.h> and <i386/isa/icu.h>. icu.hBruce Evans1996-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). Notes: svn path=/head/; revision=16471
* Whoops, I accidentally deleted a necessary ":" which is part of theNate Williams1996-06-151-2/+2
| | | | | | | | | parameters to printf() using the "D" format. (Why this even worked on my box during testing I don't know, but as soon as I powered it on/off it quite working.) Notes: svn path=/head/; revision=16378
* At long last, we know have support for the 3C589 in a FreeBSD releaseNate Williams1996-06-142-3/+219
| | | | | | | | | | | | | | using the existing files using the existing PCCARD support. Now that this is in place I would like to fixup the PCCARD hooks and remove the if_zp driver. At this point, we support everything we used to support *AND MORE* with the PCCARD code. Submitted by: Naoki Hamada <nao@sbl.cl.nec.co.jp> (via the Nomad release) [ This works on both my 3C589B and 3C589C ] Notes: svn path=/head/; revision=16374
* Better code for switching the ethernet transceiver.Nate Williams1996-06-141-30/+32
| | | | | | | | | | | | | | | My 3C509B-COMBO works fine with the following patch. Switching between UTP and BNC is quite easy. (Just type 'ifconfig ep0 link1 -link2' or 'ifconifg ep0 link2 -link1'.) [ I tested this with the additional PC-CARD patches and it works on both connectors on my 3C589B and 3C589C ] Reviewed by: nate Submitted by: Naoki Hamada <nao@sbl.cl.nec.co.jp> Notes: svn path=/head/; revision=16371
* Clean up -Wunused warnings.Gary Palmer1996-06-122-7/+4
| | | | | | | Reviewed by: bde Notes: svn path=/head/; revision=16322
* Properly determine the offset of the remaining bytes we need to transferJustin T. Gibbs1996-05-241-2/+2
| | | | | | | | | | after outsl'ing all the long words we can during transmission in 32bit mode. Closes PR:i386/1243 Submitted by: flash@eru.tubank.msk.su Notes: svn path=/head/; revision=15893
* Fix media type determination.Justin T. Gibbs1996-02-283-10/+8
| | | | Notes: svn path=/head/; revision=14297
* Clean up the 3c5x9 driver and add an eisaconf probe to it. This shouldJustin T. Gibbs1996-02-262-187/+256
| | | | | | | | | prevent it from conflicting with other drivers (like the aic7xxx driver). Most of the work was in spliting out common portions of the driver and making them generic enough to be called from the eisaconf probe. Notes: svn path=/head/; revision=14259
* 3c5x9.c:Justin T. Gibbs1996-02-261-0/+308
| | | | | | | | | | | | | | | | The eisaconf probe for the 3Com 3c579 and the 3c509 when in eisa configuration mode. aha1742.c aic7770.c bt74x.c: Only call eisa_registerdev after the probe is successfully. eisaconf.c: Increase kdc->kdc_datalen during the eisa_reg* functions instead of in the eisa_add* functions since eisa_registerdev has already been called and we have a kdc to manipulate. Notes: svn path=/head/; revision=14258
* - Properly set the watchdog timer only during transmits.Justin T. Gibbs1996-02-131-26/+35
| | | | | | | | | | - Clean up the access to our ifnet structure by caching a pointer to it instead of always digging through our softc structure. Submitted by: Watchdog fixes by Serge A. Babkin <babkin@hq.icb.chel.su> Notes: svn path=/head/; revision=14091
* Clean up Ethernet drivers:Garrett Wollman1996-02-062-10/+11
| | | | | | | | | | | - 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-3/+3
| | | | | | | a bunch of system include files. Notes: svn path=/head/; revision=13765
* Finally commit Serge's multicast and "misc other changes" patch. IJustin T. Gibbs1996-01-292-43/+84
| | | | | | | | | don't have a network to test it on here, but it does probe my card okay. Submitted by: "Serge A. Babkin" <babkin@hq.icb.chel.su> Notes: svn path=/head/; revision=13692
* The last part of the ether_sprint -> %6D change.Poul-Henning Kamp1996-01-261-2/+2
| | | | | | | | Sorry for the delay. (%D is for hexdumping.) Notes: svn path=/head/; revision=13638
* Completed function declarations and/or added prototypes and/or addedBruce Evans1995-12-151-1/+6
| | | | | | | #includes to get prototypes. Notes: svn path=/head/; revision=12854
* Staticize and cleanup.Poul-Henning Kamp1995-12-101-14/+14
| | | | Notes: svn path=/head/; revision=12724
* all:David Greenman1995-12-051-26/+7
| | | | | | | | | | | | | | | | | | | 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!). Notes: svn path=/head/; revision=12628
* Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up theBruce Evans1995-11-041-2/+1
| | | | | | | | | | | | | misplaced extern declarations (mostly prototypes of interrupt handlers) that this exposed. The prototypes should be moved back to the driver sources when the functions are staticalized. Added idempotency guards to <machine/conf.h>. "ioconf.h" can't be included when building LKMs so define a wart in bsd.kmod.mk to help guard against including it. Notes: svn path=/head/; revision=12080
* Remove unused functions and variables, make things static, and other cleanups.Poul-Henning Kamp1995-10-281-5/+1
| | | | Notes: svn path=/head/; revision=11872
* Reviewed by: julian and jhay@mikom.csir.co.zaJulian Elischer1995-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 Notes: svn path=/head/; revision=11819