summaryrefslogtreecommitdiffstats
path: root/sys/dev/ep
Commit message (Collapse)AuthorAgeFilesLines
* Removed unused includes.bde1998-06-211-2/+1
|
* 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
|
* Removed unused #includes.bde1998-03-281-6/+1
|
* 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
|
* Turn DIAGNOSTIC into a new-style option.eivind1998-02-041-1/+2
|
* Make INET a proper option.eivind1998-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>.
* Throw options IPX, IPXIP and IPTUNNEL into opt_ipx.h.eivind1997-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.)
* Recognize 3C569 network interface when `PC98' is defined.kato1997-11-271-2/+7
| | | | Submitted by: HAMADA Naoki <hamada@astec.co.jp>
* - 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-5/+1
| | | | Found by: -Wunused
* Move the EP_ID_PORT out to 0x110, so it doesn't conflict with other portjoerg1997-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>
* Fix a comment about multicast; since the Etherlink III has nofenner1997-10-271-4/+7
| | | | multicast filter the driver will never learn how to program it.
* - Instead of relying on a functional call to register PCARD-capable drivers,nate1997-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
* - Functional changes to PCCARD support.nate1997-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.)
* - Do a bunch of gratuitous changes intended to make the code easier tonate1997-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
* if_ep.c clarification/simplification.itojun1997-10-142-273/+92
| | | | | | | | | | | | | | - 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
* Add shared EISA interrupt support.gibbs1997-09-211-4/+8
| | | | Clean up the match routines so that they return const char *
* 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-11/+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-223-3/+3
| | | | ready for it yet.
* 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.
* Submitted by: Naoki Hamada <nao@sbl.cl.nec.co.jp>kato1996-12-191-1/+6
| | | | Support 3COM 3C569 network card on PC98.
* Convert the interface address and IP interface address structureswollman1996-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).
* Fixed pessimized (short) i/o port type.bde1996-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.
* Removed nested include if <sys/socket.h> from <net/if.h> andbde1996-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>.
* Staticized. Things exported by linker sets should always be static.bde1996-10-121-2/+2
|
* Various cleanups for remanents of devconf.phk1996-09-081-3/+1
|
* Remove devconf, it never grew up to be of any use.phk1996-09-062-66/+4
|
* Megacommit to straigthen out ETHER_ mess.phk1996-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 :-(
* Under the heavy load for transmiting condition, it will be write erroramurai1996-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
* Add interrupt register set up with original register valueamurai1996-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
* Enable transmit complete interrupt...dg1996-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)
* Removed unused #includes of <i386/isa/icu.h> and <i386/isa/icu.h>. icu.hbde1996-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).
* Whoops, I accidentally deleted a necessary ":" which is part of thenate1996-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.)
* At long last, we know have support for the 3C589 in a FreeBSD releasenate1996-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 ]
* Better code for switching the ethernet transceiver.nate1996-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>
* Clean up -Wunused warnings.gpalmer1996-06-122-7/+4
| | | | Reviewed by: bde
* Properly determine the offset of the remaining bytes we need to transfergibbs1996-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
* Fix media type determination.gibbs1996-02-283-10/+8
|
* Clean up the 3c5x9 driver and add an eisaconf probe to it. This shouldgibbs1996-02-262-188/+257
| | | | | | 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.
* 3c5x9.c: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.
* - Properly set the watchdog timer only during transmits.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>
* Clean up Ethernet drivers: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
* Fix a bunch of spelling errors in the comment fields ofmpp1996-01-301-3/+3
| | | | a bunch of system include files.
* Finally commit Serge's multicast and "misc other changes" patch. Igibbs1996-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>
* The last part of the ether_sprint -> %6D change.phk1996-01-261-2/+2
| | | | | Sorry for the delay. (%D is for hexdumping.)
* Completed function declarations and/or added prototypes and/or addedbde1995-12-151-1/+6
| | | | #includes to get prototypes.
OpenPOWER on IntegriCloud