summaryrefslogtreecommitdiffstats
path: root/sys/dev/ar
Commit message (Collapse)AuthorAgeFilesLines
* Remove some unnecessary code in the interrupt handler.jhay1996-10-282-24/+30
| | | | | | | Check that a received packet isn't longer than MCLBYTES. This will sometimes happen if a cable is plugged into or removed from a live system. Try to cater better for early receive interrupts.
* Remove devconf, it never grew up to be of any use.phk1996-09-062-144/+2
|
* Added #include of <machine/md_var.h>. This will be needed whenbde1996-06-252-2/+4
| | | | | some declarations are moved from <machine/cpufunc.h> to better places.
* Improve the handling of receive errors. Fix a nasty bug in the receivejhay1996-04-122-110/+324
| | | | buffer code.
* Changes to the Digi/Arnet SYNC driver:peter1996-03-173-327/+552
| | | | | | | | | | | | | | | | | | 1. Create 2 x 8k transmit buffer blocks in place of the 16k block previously. With this change the speed as tested with ttcp on a 2Mbit link went up from 206kbyte/s to 236kbyte/s. 2. Change the rest of the functions to also have the definition of the return value on a sepperate line. 3. Remove some unused variables. 4. Add code to recover from DMA underruns. 5. Reorder ar_get_packets() to handle errors better. 6. Only allocate a mbuf cluster if the data is more than the mbuf. (and in a second diff in addition to the above) 7. Stops the occasional DMA underruns that occurred when 2 channels are running at 2Mbit/s. Submitted by: John Hay <jhay@mikom.csir.co.za>
* Make the handshake lines do the right thing. This is untested by the authorpeter1996-03-032-26/+28
| | | | | | | | but others say it's working. (DTR etc) Closes PR#884 Submitted-by: John Hay <jhay@mikom.csir.co.za>
* Clean up Ethernet drivers:wollman1996-02-062-38/+20
| | | | | | | | - 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
* Completed function declarations and/or added prototypes and/or addedbde1995-12-152-2/+10
| | | | #includes to get prototypes.
* Staticize and cleanup.phk1995-12-102-34/+50
|
* all:dg1995-12-052-52/+16
| | | | | | | | | | | | | | | | 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!).
* This driver supports the Arnet SYNC/570i ISA cards that is based on thepeter1995-11-213-0/+3051
HD64570 chip. Both the 2 and 4 port cards is supported and auto detected. Line speeds of up to 2Mbps is possible. At this speed about 85% of the bandwidth is usable with 486DX processors. The standard FreeBSD sppp code is used for the link level layer. The default protocol used is PPP. The Cisco HDLC protocol can be used by adding "link2" to the ifconfig line in /etc/sysconfig or where ever ifconfig is run. At the moment only the V.35 and X.21 interfaces is supported. The others may need tweaks to the clock selection code. Submitted by: John Hay <jhay@mikom.csir.co.za>
OpenPOWER on IntegriCloud