aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fxp
Commit message (Collapse)AuthorAgeFilesLines
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-142-2/+2
| | | | | | | | | | | 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-15/+5
| | | | | | | | | | 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
* 1) Implement SIOCSIFMTU in ether_ioctl(), and change ether_ioctl's returnDavid Greenman1996-12-101-92/+15
| | | | | | | | | | | | 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
* Fixed obsolete comment.David Greenman1996-11-181-3/+2
| | | | Notes: svn path=/head/; revision=19845
* 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
* Backed out one of my "performance optimizations" as it results in sometimesDavid Greenman1996-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. Notes: svn path=/head/; revision=18553
* Fixed a bug with the management of the pointer to the first TxCB in theDavid Greenman1996-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. Notes: svn path=/head/; revision=18462
* Fixed a bug in the receive buffer allocation code that resulted in aDavid Greenman1996-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. Notes: svn path=/head/; revision=18417
* When the devconf stuff was ripped out of the kernel, the ripper neglectedDavid Greenman1996-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). Notes: svn path=/head/; revision=18403
* Implemented a better, dynamic, mechanism for adjusting the transmitDavid Greenman1996-09-191-2/+19
| | | | | | | threshold. Notes: svn path=/head/; revision=18384
* Increased transmit threshold to 1024 bytes to fix a problem with underrunsDavid Greenman1996-09-181-2/+2
| | | | | | | on machines with poor PCI performance. Notes: svn path=/head/; revision=18359
* Remove devconf, it never grew up to be of any use.Poul-Henning Kamp1996-09-061-7/+5
| | | | Notes: svn path=/head/; revision=18084
* Set ifnet.baudrate for ethernet / FDDI interfaces too. MakesGary Palmer1996-06-011-1/+2
| | | | | | | | | SNMP slightly more informative Reviewed by: Garrett Wollman Notes: svn path=/head/; revision=16063
* Removed sections 3 and 4 from my copyright.David Greenman1996-04-082-12/+2
| | | | Notes: svn path=/head/; revision=15132
* Clean up Ethernet drivers:Garrett 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 Notes: svn path=/head/; revision=13937
* The last part of the ether_sprint -> %6D change.Poul-Henning Kamp1996-01-261-3/+3
| | | | | | | | Sorry for the delay. (%D is for hexdumping.) Notes: svn path=/head/; revision=13638
* Make PCI interrupt handlers return void like everybody else does.Stefan Eßer1996-01-231-7/+3
| | | | | | | Reviewed by: davidg Notes: svn path=/head/; revision=13597
* This driver really is for the Pro/100B and not for the Pro/100 (and in factDavid Greenman1996-01-151-3/+3
| | | | | | | doesn't even work with a Pro/100)...updated to reflect this. Notes: svn path=/head/; revision=13437
* Reworked the stop/reset code to properly run-down allocated buffers andDavid Greenman1996-01-031-36/+75
| | | | | | | made the code detect and handle wedged cards. Notes: svn path=/head/; revision=13176
* Added prototype for fxp_scb_wait() and fixed a bug where the wrong pointerDavid Greenman1995-12-181-2/+3
| | | | | | | was passed in one case. Notes: svn path=/head/; revision=12915
* Untangled the vm.h include file spaghetti.David Greenman1995-12-071-2/+2
| | | | Notes: svn path=/head/; revision=12662
* Increased the number of Tx segments from 13 to 29 to reduce the need toDavid Greenman1995-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. Notes: svn path=/head/; revision=12633
* all:David Greenman1995-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!). Notes: svn path=/head/; revision=12628
* Fix minor bug that would cause the packet statistics updates to stopDavid Greenman1995-12-011-24/+75
| | | | | | | | working under extremely rare circumstances. Also added some additional comments.. Notes: svn path=/head/; revision=12562
* Device driver for Intel Pro/100 PCI Fast Ethernet controller.David Greenman1995-11-282-0/+1313
Notes: svn path=/head/; revision=12510