aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sr
Commit message (Collapse)AuthorAgeFilesLines
...
* Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn'tPeter Wemm1999-04-241-1/+5
| | | | | | | hurt the driver portability to 3.x too much for where drivers are shared. Notes: svn path=/head/; revision=46024
* Organize the various modes (CISCO/AUTO/DEMAND/LEASED) a little bit better,Poul-Henning Kamp1999-03-302-16/+2
| | | | | | | | | centralize the code. Remember to call TLF/TLS on the hardware in CISCO mode. Notes: svn path=/head/; revision=45151
* Fix typo. Unit is spelled with a 'u'. 'init' just types too easily.Julian Elischer1999-01-182-4/+4
| | | | Notes: svn path=/head/; revision=42814
* Fix screwed up previous commit.Julian Elischer1999-01-182-8/+18
| | | | | | | | Obviously no-one is using this card on ISA as the interrupts were NOT being handled. Notes: svn path=/head/; revision=42813
* From inspection, ISA interrupts were completely broken..Julian Elischer1999-01-182-2/+40
| | | | | | | | revert some of the old ISA code. (I can't test this but I'm working on the file.) Notes: svn path=/head/; revision=42794
* Remove/comment out unused functions.Eivind Eklund1999-01-122-42/+2
| | | | Notes: svn path=/head/; revision=42548
* Straigthen out the use of the tls and tlf callbacks.Poul-Henning Kamp1998-12-162-30/+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. Notes: svn path=/head/; revision=41881
* probe function changed from returning char * to const char *.Matthew Dillon1998-12-141-3/+3
| | | | Notes: svn path=/head/; revision=41771
* Initialize isa_devtab entries for interrupt handlers in individualBruce Evans1998-10-222-4/+6
| | | | | | | | | | 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 Notes: svn path=/head/; revision=40565
* Removed unused includes.Bruce Evans1998-06-212-6/+2
| | | | Notes: svn path=/head/; revision=37094
* Added used include of <i386/isa/isa_device.h> - don't depend onBruce Evans1998-06-172-2/+4
| | | | | | | pollution in <sys/conf.h> Notes: svn path=/head/; revision=37031
* This commit fixes various 64bit portability problems required forDoug Rabson1998-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. Notes: svn path=/head/; revision=36735
* Seventy-odd "its" / "it's" typos in comments fixed as per kern/6108.Dag-Erling Smørgrav1998-04-172-6/+6
| | | | Notes: svn path=/head/; revision=35256
* Staticize.Eivind Eklund1998-02-091-2/+2
| | | | Notes: svn path=/head/; revision=33181
* Don't clobber pp_flags when PP_KEEPALIVE must be set.John Hay1998-01-302-6/+8
| | | | Notes: svn path=/head/; revision=32904
* Make INET a proper option.Eivind Eklund1998-01-082-2/+12
| | | | | | | | | | | | | | | 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>. Notes: svn path=/head/; revision=32350
* Removed unused #includes.Bruce Evans1997-09-021-2/+1
| | | | Notes: svn path=/head/; revision=29041
* Added used #include - don't depend on <sys/mbuf.h> includingBruce Evans1997-09-022-2/+4
| | | | | | | <sys/malloc.h> (unless we only use the bogusly shared M*WAIT flags). Notes: svn path=/head/; revision=29024
* Removed unused #includes.Bruce Evans1997-07-202-4/+2
| | | | Notes: svn path=/head/; revision=27555
* Major overhaul of the SyncPPP layer. Basically, this comprises now aJoerg Wunsch1997-05-192-4/+36
| | | | | | | | | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=25944
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notPeter Wemm1997-02-224-4/+4
| | | | | | | ready for it yet. Notes: svn path=/head/; revision=22975
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-144-4/+4
| | | | | | | | | | | 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
* Oops I forgot to add the official id for this card.John Hay1996-11-131-2/+3
| | | | Notes: svn path=/head/; revision=19717
* if_sr.c corrupted the global variable `ticks'.John Hay1996-10-312-22/+10
| | | | | | | | | | 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 Notes: svn path=/head/; revision=19296
* Add support for the SDL RISCom N2pci cards. Bring in the enhancementsJohn Hay1996-10-294-1623/+4404
| | | | | | | made to the Arnet driver. Notes: svn path=/head/; revision=19242
* Remove devconf, it never grew up to be of any use.Poul-Henning Kamp1996-09-062-136/+2
| | | | Notes: svn path=/head/; revision=18084
* This driver supports the SDL Communications RISCom/N2 ISA cards that isJohn Hay1996-07-053-0/+3485
based on the HD64570 chip. Both the 1 and 2 port cards is supported. Line speeds of up to 2Mbps is possible. At this speed about 95% 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 X.21 interface is tested. The others may need tweaks to the clock selection code. Notes: svn path=/head/; revision=16981