summaryrefslogtreecommitdiffstats
path: root/sys/i4b/driver
Commit message (Collapse)AuthorAgeFilesLines
* Send the remains (such as I have located) of "block major numbers" tophk2001-03-264-4/+0
| | | | the bit-bucket.
* (MFC candidate since this is already a merge from /sys/net only.)joerg2001-03-251-2/+16
| | | | | | | | | | Merge rev's 1.65 and 1.66 from sys/net/if_spppsubr.c (implement the `restart' option, and fix a blatant bug with PAP authentication). The i4b implementation of this file should be merged back, but for now, we need this here as well. Reviewed by: gj
* Mechanical change to use <sys/queue.h> macro API instead ofphk2001-02-041-4/+4
| | | | | | | fondling implementation details. Created with: sed(1) Reviewed by: md5(1)
* Stop counting sppp interfaces, we were just testing its presence to givepeter2001-01-291-4/+0
| | | | a warning if it was missing.
* Remove useless variable vjlen.hm2001-01-231-2/+2
| | | | Submitted by: Sergio de Souza Prallon <prallon@tmp.com.br>
* it seems that a commit to i4b/drivers/i4b_ispppsubr.c on 2000-01-12 hashm2001-01-151-2/+2
| | | | | | | broken the handling of uncompressed VJ packets. The attached diff should hopefully fix that. Submitted by: Thomas Moestl <tmoestl@gmx.net> Reviewed by: Sergio de Souza Prallon <prallon@tmp.com.br>
* Reenable support for FreeBSD 4.x and possibly the other supported BSD'shm2001-01-155-159/+243
|
* Fix a bug overwriting random data when Van Jacobsen header compressionhm2001-01-121-11/+21
| | | | | was used with the isp/isppp driver. Submitted by: Sergio de Souza Prallon <prallon@tmp.com.br>
* When queueing a packet, call the output start routine. I botched thisjlemon2001-01-091-1/+1
| | | | | | during the initial ifqueue conversion. Submitted by: Thomas Moestl <tmoestl@gmx.net>
* Part 2 of the netgraph rewrite.julian2001-01-081-16/+15
| | | | | | This is mostly cosmetic changes, (though I caught a bug or two while makeing them) Reviewed by: archie@freebsd.org
* Rewrite of netgraph to start getting ready for SMP.julian2001-01-061-30/+50
| | | | | | | | This version is functional and is aproaching solid.. notice I said APROACHING. There are many node types I cannot test I have tested: echo hole ppp socket vjc iface tee bpf async tty The rest compile and "Look" right. More changes to follow. DEBUGGING is enabled in this code to help if people have problems.
* Divorce the kernel binary ABI version number from the messagejulian2000-12-181-1/+1
| | | | | | | | | format version number. (userland programs should not need to be recompiled when the netgraph kernel internal ABI is changed. Also fix modules that don;t handle the fact that a caller may not supply a return message pointer. (benign at the moment because the calling code checks, but that will change)
* Change initialiser to match new structure layout.julian2000-12-121-1/+0
| | | | | forgotten by: Me Found by: GCC
* Reviewed by: Archie@freebsd.orgjulian2000-12-121-2/+5
| | | | | | | | | | | | | This clears out my outstanding netgraph changes. There is a netgraph change of design in the offing and this is to some extent a superset of soem of the new functionality and some of the old functionality that may be removed. This code works as before, but allows some new features that I want to work with and evaluate. It is the basis for a version of netgraph with integral locking for SMP use. This is running on my test machine with no new problems :-)
* Make log(-1, ...) do what addlog(...) did.phk2000-11-261-97/+97
| | | | | | | | Replace all uses of addlog(...) with log(-1, ...) Remove bogus "register" keywords in subr_prf.c Make log() return void.
* Lock down the network interface queues. The queue mutex must be obtainedjlemon2000-11-258-173/+98
| | | | | | | | | | | | | | before adding/removing packets from the queue. Also, the if_obytes and if_omcasts fields should only be manipulated under protection of the mutex. IF_ENQUEUE, IF_PREPEND, and IF_DEQUEUE perform all necessary locking on the queue. An IF_LOCK macro is provided, as well as the old (mutex-less) versions of the macros in the form _IF_ENQUEUE, _IF_QFULL, for code which needs them, but their use is discouraged. Two new macros are introduced: IF_DRAIN() to drain a queue, and IF_HANDOFF, which takes care of locking/enqueue, and also statistics updating/start if necessary.
* Fix i4b netgraph interface to not kernel panic at boot timehm2000-11-091-2/+13
| | | | | Make code compile and work for FreeBSD 4.x as well as FreeBSD 5.x Submitted by: Michael Reifenberger <root@nihil.plaut.de>
* Remove unused #include statementshm2000-10-302-2/+0
| | | | Submitted by: phk
* Submitted by: phkhm2000-10-138-28/+0
| | | | Remove not needed includes.
* fix conflicting types for ng_ing_rcvmsg() and ng_ing_rcvdata().hm2000-10-101-3/+4
|
* update to i4b version 0.95.04hm2000-10-099-240/+6546
|
* Avoid the modules madness I inadvertently introduced by making thephk2000-09-023-27/+0
| | | | | | | | | | | | | | | | | | cloning infrastructure standard in kern_conf. Modules are now the same with or without devfs support. If you need to detect if devfs is present, in modules or elsewhere, check the integer variable "devfs_present". This happily removes an ugly hack from kern/vfs_conf.c. This forces a rename of the eventhandler and the standard clone helper function. Include <sys/eventhandler.h> in <sys/conf.h>: it's a helper #include like <sys/queue.h> Remove all #includes of opt_devfs.h they no longer matter.
* Remove all traces of Julians DEVFS (incl from kern/subr_diskslice.c)phk2000-08-204-48/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Remove old DEVFS support fields from dev_t. Make uid, gid & mode members of dev_t and set them in make_dev(). Use correct uid, gid & mode in make_dev in disk minilayer. Add support for registering alias names for a dev_t using the new function make_dev_alias(). These will show up as symlinks in DEVFS. Use makedev() rather than make_dev() for MFSs magic devices to prevent DEVFS from noticing this abuse. Add a field for DEVFS inode number in dev_t. Add new DEVFS in fs/devfs. Add devfs cloning to: disk minilayer (ie: ad(4), sd(4), cd(4) etc etc) md(4), tun(4), bpf(4), fd(4) If DEVFS add -d flag to /sbin/inits args to make it mount devfs. Add commented out DEVFS to GENERIC
* Borrow phk's axe and apply the next stage of config(8)'s evolution.peter2000-06-131-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use Warner Losh's "hint" driver to decode ascii strings to fill the resource table at boot time. config(8) no longer generates an ioconf.c table - ie: the configuration no longer has to be compiled into the kernel. You can reconfigure your isa devices with the likes of this at loader(8) time: set hint.ed.0.port=0x320 userconfig will be rewritten to use this style interface one day and will move to /boot/userconfig.4th or something like that. It is still possible to statically compile in a set of hints into a kernel if you do not wish to use loader(8). See the "hints" directive in GENERIC as an example. All device wiring has been moved out of config(8). There is a set of helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98) that extract the 'at isa? port foo irq bar' from the old files and produces a hints file. If you install this file as /boot/device.hints (and update /boot/defaults/loader.conf - You can do a build/install in sys/boot) then loader will load it automatically for you. You can also compile in the hints directly with: hints "device.hints" as well. There are a few things that I'm not too happy with yet. Under this scheme, things like LINT would no longer be useful as "documentation" of settings. I have renamed this file to 'NOTES' and stored the example hints strings in it. However... this is not something that config(8) understands, so there is a script that extracts the build-specific data from the documentation file (NOTES) to produce a LINT that can be config'ed and built. A stack of man4 pages will need updating. :-/ Also, since there is no longer a difference between 'device' and 'pseudo-device' I collapsed the two together, and the resulting 'device' takes a 'number of units' for devices that still have it statically allocated. eg: 'device fe 4' will compile the fe driver with NFE set to 4. You can then set hints for 4 units (0 - 3). Also note that 'device fe0' will be interpreted as "zero units of 'fe'" which would be bad, so there is a config warning for this. This is only needed for old drivers that still have static limits on numbers of units. All the statically limited drivers that I could find were marked. Please exercise EXTREME CAUTION when transitioning! Moral support by: phk, msmith, dfr, asmodai, imp, and others
* update to isdn4bsd beta release 0.90hm1999-12-147-173/+467
|
* Call i4b_l4_drvrdisc, not i4b_l4_disconnect_ind to bring the linkbrian1999-11-281-2/+2
| | | | | | | | down when the device is closed or carrier is removed. This solves the disconnect problems when using user-ppp over isdn. Suggested by: hm
* Remove five now unused fields from struct cdevsw. They should neverphk1999-09-254-20/+0
| | | | | | | | have been there in the first place. A GENERIC kernel shrinks almost 1k. Add a slightly different safetybelt under nostop for tty drivers. Add some missing FreeBSD tags
* make correct minor numvers for some of the devices.julian1999-08-311-5/+18
| | | | Submitted by: Hellmuth Michaelis <hm@hcs.de>
* $Id$ -> $FreeBSD$peter1999-08-287-7/+7
|
* Add PHK's make_dev() into more places where DEVFS used to bejulian1999-08-274-75/+11
| | | | | | | | | hooked in directly. Alpha change checked by: Matthew Jacob <mjacob@feral.com> i4b ISDN changes checked by: Udo Schweigert <ust@cert.siemens.de> and Hellmuth Michaelis <hm@hcs.de> PC98 changes checked by: Takahashi Yoshihiro <nyan@FreeBSD.org>
* updating isdn4bsd to beta version 0.83hm1999-08-067-71/+784
|
* Rename bpfilter to bpf.des1999-07-062-16/+16
|
* devsw and cdevsw_add() changes for i4b.phk1999-06-014-49/+96
| | | | Reviewed by: hm
* upgrade isdn4bsd from version 0.71 to the just released version 0.81hm1999-05-206-325/+776
|
* Suser() simplification:phk1999-04-271-2/+2
| | | | | | | | | | | | | | | | | | | 1: s/suser/suser_xxx/ 2: Add new function: suser(struct proc *), prototyped in <sys/proc.h>. 3: s/suser_xxx(\([a-zA-Z0-9_]*\)->p_ucred, \&\1->p_acflag)/suser(\1)/ The remaining suser_xxx() calls will be scrutinized and dealt with later. There may be some unneeded #include <sys/cred.h>, but they are left as an exercise for Bruce. More changes to the suser() API will come along with the "jail" code.
* update the i4b kernel part to i4b release 0.71.00hm1999-03-076-104/+292
|
* Silence warnings.eivind1999-01-121-2/+2
| | | | Approved by: hm
* Initial entry of ISDN4BSD into the FreeBSD tree.phk1998-12-276-0/+4169
ISDN4BSD is the work of our brand-new comitter: Hellmuth Michaelis, who has done a tremendous amount of work to bring us this far. There are still some outstanding issues and files to bring into the tree, and for now it will be needed to pick up all the extra docs from the isdn4bsd release. It is probably also a very good idea to subscribe to the isdn@freebsd.org mailing list before you try this out. These files correspond to release "beta Version 0.70.00 / December 1998" from Hellmuth.
OpenPOWER on IntegriCloud