summaryrefslogtreecommitdiffstats
path: root/sys/dev/tx
Commit message (Collapse)AuthorAgeFilesLines
* Convert more malloc+bzero to malloc+M_ZERO.dwmalone2000-12-081-2/+1
| | | | | Submitted by: josh@zipperup.org Submitted by: Robert Drehmel <robd@gmx.net>
* Add missing delay after card reset.pb2000-11-091-0/+1
| | | | | | | This fixes randoms lockups when probing the card at boot time, when more than 1 similar card is found in the machine. Reviewed by: semenu
* Remove unneeded #include <machine/clock.h>phk2000-10-151-1/+0
|
* Make all Ethernet drivers attach using ether_ifattach() and detach usingarchie2000-07-131-6/+2
| | | | | | | | | ether_ifdetach(). The former consolidates the operations of if_attach(), ng_ether_attach(), and bpfattach(). The latter consolidates the corresponding detach operations. Reviewed by: julian, freebsd-net
* Added support for SMC9432BTX cards.semenu2000-06-213-11/+87
|
* Avoid double-call to bpf_mtap(). This is now handled in ether_input().archie2000-05-241-0/+2
|
* Move code to handle BPF and bridging for incoming Ethernet packets outarchie2000-05-141-50/+0
| | | | | | | | | | | | | | | of the individual drivers and into the common routine ether_input(). Also, remove the (incomplete) hack for matching ethernet headers in the ip_fw code. The good news: net result of 1016 lines removed, and this should make bridging now work with *all* Ethernet drivers. The bad news: it's nearly impossible to test every driver, especially for bridging, and I was unable to get much testing help on the mailing lists. Reviewed by: freebsd-net
* Depend on miibus.peter2000-04-291-0/+2
| | | | | | | | Note that if_aue doesn't strictly depend on usb because it uses the method interface for calls rather than using internal symbols, and because it's a child driver of usb and therefore will not try and do anything unless the parent usb code is loaded at some point. if_aue does strictly depend on miibus as it will fail to link if it is missing.
* Driver is now using miibus, and newbus.semenu2000-04-123-1104/+678
| | | | PR: kern/17601
* Change incorrect NULLs to 0seivind1999-12-211-1/+1
|
* Added code to enable BusMaster operations.semenu1999-10-293-4/+39
| | | | | | Kurt D. Starsinic <kstar@chapin.edu> had reported this patch fixing strange behaviour (like timeouts and RX/TX DMAs stopping errors).
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Clean up after removing sys/eventhandler.h from sys/systm.h at the lastmsmith1999-08-211-1/+2
| | | | | minute. This should cover all of the missed cases (and should let LINT build again).
* Implement a new generic mechanism for attaching handler functions tomsmith1999-08-211-5/+6
| | | | | | | | | | | | | events, in order to pave the way for removing a number of the ad-hoc implementations currently in use. Retire the at_shutdown family of functions and replace them with new event handler lists. Rework kern_shutdown.c to take greater advantage of the use of event handlers. Reviewed by: green
* Rename bpfilter to bpf.des1999-07-061-11/+11
|
* Eliminate a bunch of #include "pci.h" and #if NPCI > 0 around entirepeter1999-07-031-4/+1
| | | | files. config will leave the whole file out if configured to do so.
* Move arpcom structure be the first in softc structure. Neededsemenu1999-05-222-4/+4
| | | | | | for ether_ioctl. PR: pending/11754
* #if 0 some unused code (debug?) to quiet a warning.peter1999-05-101-2/+5
|
* Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add:peter1999-05-091-6/+3
| | | | | | | | #define COMPAT_PCI_DRIVER(name,data) DATA_SET(pcidevice_set,data) .. to 2.2.x and 3.x if people think it's worth it. Driver writers can do this if it's not defined. (The reason for this is that I'm trying to progressively eliminate use of linker_sets where it hurts modularity and runtime load capability, and these DATA_SET's keep getting in the way.)
* Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn'tpeter1999-04-241-1/+5
| | | | hurt the driver portability to 3.x too much for where drivers are shared.
* Well folks, this is it - The second stage of the removal for build supportpeter1999-04-171-7/+1
| | | | for LKM's..
* Add support for bridging to if_tx.cnsayer1999-03-311-1/+43
| | | | | PR: 10534 Submitted by: nsayer
* Implemented workaround for EPIC's Application Note 7-15 (concerningsemenu1999-03-143-110/+257
| | | | | | | | | | | | | chip int. and ext. clock synchronisation). Fixed workaround for transmit threshold underrun. Added volatile keyword to CSR_READ_* and CSR_WRITE_* macroses. Added DELAYs to eliminate randomness caused by processor speed. Fixed all TXCON and RXCON registers to be accessed only when chip is idle, as manual told. Changed epic_init_phy to drop link by isolating and going loopback, should should force link partner to restart autonegotiation. PR: kern/10535, kern/9742, kern/10575 Submitted by: Peter Jeremy, David Greenman
* Fix from author of the driver:andreas1999-03-091-3/+3
| | | | | | | | | | | | | | | | | | The i++ loop from 1..1000 is too small on very fast machines like PII 450 MHz. Increasing the loop from 1..100000 lets the machine access PHY. After this patch it's possible to use a SMC PCI card on a HP Kayak XA series PC Workstation. Workaround until this fix was to enable debugging in the driver (#define EPIC_DEBUG 1). Without that patch you get an undefined state: while true do ifconfig -a | grep status: done The status messages flaps between twwo values, but not "connected". Obtained from: Ustimenko Semen <semen@iclub.nsu.ru>
* probe function changed from returning char * to const char *.dillon1998-12-141-3/+3
|
* Adjust prototype to match definition (by adding a 'const').eivind1998-12-091-2/+2
|
* The "easy" fixes for compiling the kernel -Wunused: remove unreferenced staticarchie1998-12-071-3/+2
| | | | and local variables, goto labels, and functions declared but not defined.
* ifioctl takes a u_long rather than an int on 3.0peter1998-11-091-1/+5
|
* Ported to OpenBSD. sys/pci/smc83c170.h renamed to sys/pci/if_txvar.h to besemenu1998-11-013-513/+1669
| | | | like others.
* Minimal change for #if __FreeBSD__ >= 3 to check __FreeBSD_version instead.peter1998-09-241-2/+2
|
* Fixed printf format errors (only 1 left in GENERIC now).bde1998-07-131-5/+6
|
* Fix some strange errors of shutting transmitter up when startsemenu1998-07-041-578/+561
| | | | | | | transmition after software reset with no link estabilished yet. Fix TX DMA stop method (queue last packet to stop). PR: i386/6578
* Fix spelling in printf().jkoshy1998-06-081-2/+2
|
* This commit fixes various 64bit portability problems required fordfr1998-06-071-2/+2
| | | | | | | | | | 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.
* Support compiling with `gcc -ansi'.bde1998-04-151-3/+3
|
* Fixed autonegotiation. Card registers are now accessed via memorysemenu1998-04-131-143/+218
| | | | not i/o space.
* Correct minor typojkh1998-03-051-1/+1
| | | | Confirmed by: Ustimenko Semen <semen@iclub.nsu.ru>
* *** empty log message ***semenu1998-03-041-13/+80
|
* Update to "stable-167" release; totally reimplements media detection.jkh1998-02-201-327/+418
| | | | Submitted by: Ustimenko Semen <semen@iclub.nsu.ru>
* Staticize.eivind1998-02-091-1/+1
|
* MF22: update to newest version from author.jkh1998-02-041-188/+407
|
* Removed ifdef for <sys/sockio.h> vs <sys/ioctl.h>. <sys/sockio.h> isbde1998-02-011-20/+5
| | | | | | | | | | | | a BSD4.4Lite1 feature, not a FreeBSD feature. <sys/ioctl.h> is a compatibility misfeature. Moved NPCI ifdef. This file didn't compile if NPCI <= 0. It shouldn't be configured in that case, but it is easy to support (mis)configuration of drivers without buses by generating null objects, and many drivers do it. Removed unused includes.
* Update to version stable-165jkh1998-01-291-196/+251
| | | | Submitted by: Ustimenko Semen <semen@iclub.nsu.ru>
* Driver for the new SMC 9432TX cards.jkh1998-01-211-0/+1051
Submitted by: Ustimenko Semen <semen@iclub.nsu.ru>
OpenPOWER on IntegriCloud