summaryrefslogtreecommitdiffstats
path: root/sys/dev/fxp
Commit message (Collapse)AuthorAgeFilesLines
* 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>.
* Backed out one of my "performance optimizations" as it results in sometimesdg1996-09-291-9/+13
| | | | | | | | | not resuming the NIC as required for transmit. Thanks to Alan Cox <alc@cs.rice.edu> for noticing this. Added another performance optimization to compensate. :-) Changed crscdt to 1...strange, but this seems to be needed for some reason despite what the manual says.
* Fixed a bug with the management of the pointer to the first TxCB in thedg1996-09-221-49/+38
| | | | | | | ring that caused wrong things to happen sometimes. Doubled the number of transmit descriptors to 128 so that the internal FIFO in the NIC can be fully filled when dealing with small packets. Several minor performance improvements.
* Fixed a bug in the receive buffer allocation code that resulted in adg1996-09-201-5/+14
| | | | | panic if an mbuf cluster couldn't be allocated. This was caused by a failure to re-initialize m_data when the old mbuf/mbcluster was recycled.
* When the devconf stuff was ripped out of the kernel, the ripper neglecteddg1996-09-201-18/+17
| | | | | | | | to deal with the fact that we relied on devconf to do the shutdown callouts in various drivers. The changes in this commit are to add support for device shutdown in this driver via the new at_shutdown() mechanism. Similar changes need to be made to all of the other drivers that need a shutdown routine called (if_de.c comes to mind immediately).
* Implemented a better, dynamic, mechanism for adjusting the transmitdg1996-09-191-2/+19
| | | | threshold.
* Increased transmit threshold to 1024 bytes to fix a problem with underrunsdg1996-09-181-2/+2
| | | | on machines with poor PCI performance.
* Remove devconf, it never grew up to be of any use.phk1996-09-061-7/+5
|
* Set ifnet.baudrate for ethernet / FDDI interfaces too. Makesgpalmer1996-06-011-1/+2
| | | | | | SNMP slightly more informative Reviewed by: Garrett Wollman
* Removed sections 3 and 4 from my copyright.dg1996-04-082-12/+2
|
* Clean up Ethernet drivers:wollman1996-02-061-10/+12
| | | | | | | | - 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
* The last part of the ether_sprint -> %6D change.phk1996-01-261-3/+3
| | | | | Sorry for the delay. (%D is for hexdumping.)
* Make PCI interrupt handlers return void like everybody else does.se1996-01-231-7/+3
| | | | Reviewed by: davidg
* This driver really is for the Pro/100B and not for the Pro/100 (and in factdg1996-01-151-3/+3
| | | | doesn't even work with a Pro/100)...updated to reflect this.
* Reworked the stop/reset code to properly run-down allocated buffers anddg1996-01-031-36/+75
| | | | made the code detect and handle wedged cards.
* Added prototype for fxp_scb_wait() and fixed a bug where the wrong pointerdg1995-12-181-2/+3
| | | | was passed in one case.
* Untangled the vm.h include file spaghetti.dg1995-12-071-2/+2
|
* Increased the number of Tx segments from 13 to 29 to reduce the need todg1995-12-052-8/+34
| | | | | recopy to near zero. Wrote the necessary code to recopy the mbuf chain into another buffer if there are too many mbufs in the chain.
* all:dg1995-12-051-29/+23
| | | | | | | | | | | | | | | | 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!).
* Fix minor bug that would cause the packet statistics updates to stopdg1995-12-011-24/+75
| | | | | working under extremely rare circumstances. Also added some additional comments..
* Device driver for Intel Pro/100 PCI Fast Ethernet controller.dg1995-11-282-0/+1313
OpenPOWER on IntegriCloud