summaryrefslogtreecommitdiffstats
path: root/sys/dev/ar
Commit message (Collapse)AuthorAgeFilesLines
* Straigthen out the use of the tls and tlf callbacks.phk1998-12-162-16/+2
| | | | | | | | | Not tested on the if_sr, if_cx and if_ar drivers, but expected to work just the same as it used to. Any users of these drivers (or even better: donors of hardware for them) please contact phk@freebsd.org so we can test the next batch of changes to if_sppp.
* Initialize isa_devtab entries for interrupt handlers in individualbde1998-10-222-4/+8
| | | | | | | device drivers, not in ioconf.c. Use a different hack in isa_device.h so that a new config(8) is not required yet. pc98 parts approved by: kato
* Fixed printf format errors. Only one left in LINT on i386's.bde1998-08-242-10/+10
|
* Removed unused includes.bde1998-06-212-6/+2
|
* Added used include of <i386/isa/isa_device.h> - don't depend onbde1998-06-172-2/+4
| | | | pollution in <sys/conf.h>
* This commit fixes various 64bit portability problems required fordfr1998-06-072-6/+6
| | | | | | | | | | 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-172-4/+4
|
* Make INET a proper option.eivind1998-01-082-2/+14
| | | | | | | | | | | | 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>.
* Added used #include - don't depend on <sys/mbuf.h> includingbde1997-09-022-2/+4
| | | | <sys/malloc.h> (unless we only use the bogusly shared M*WAIT flags).
* Major overhaul of the SyncPPP layer. Basically, this comprises now ajoerg1997-05-192-2/+16
| | | | | | | | | | | | | | | | | | | | | full implementation of the sate machine as described in RFC1661, and provides support for plugging in various control protocols. I needed this to provide PPP support for the BISDN project (right now). Unfortunatley, while the existing API was almost up to the point, i needed one minor API change in order to decouple the this-layer- started and this-layer-finished actions from the respective Up and Down events of the lower layer. This requires two additional lines in the attach routines of all existing lower layer interface drivers that are using syncPPP (shortcutting these actions and events). Apart from this, i believe i didn't change the API of all this, so everything should plug in without too many hassles. Please report if i broke something in the existing drivers. For a list of features (including new ones like dial-on-demand), and things still to be done, please refer to the man page i'll commit asap. Encouraged by: Serge Vakulenko <vak@cronyx.ru>
* 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.
* if_sr.c corrupted the global variable `ticks'.jhay1996-10-312-18/+8
| | | | | | | Cosmetic changes: if_sr_.c won't compile with a K&R compiler, so there is no need to cast the timeout arg to the (wrong) type. Submitted by: bde
* 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