summaryrefslogtreecommitdiffstats
path: root/sys/dev/streams
Commit message (Collapse)AuthorAgeFilesLines
* Rename remove_dev() to destroy_dev().phk1999-11-081-10/+10
| | | | Nagged about by: msmith
* Update the stream socket fileops table to match fo_stat() additions.peter1999-11-081-1/+1
|
* Replace cdevsw_add() and friends with make_dev()/remove_dev().newton1999-10-101-2/+41
|
* zap #include "streams.h" (for NSTREAMS) - which isn't used.peter1999-09-271-1/+0
|
* Remove five now unused fields from struct cdevsw. They should neverphk1999-09-251-5/+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
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Convert DEVFS hooks in (most) drivers to make_dev().phk1999-08-231-21/+1
| | | | | | | | | | | | | | | | Diskslice/label code not yet handled. Vinum, i4b, alpha, pc98 not dealt with (left to respective Maintainers) Add the correct hook for devfs to kern_conf.c The net result of this excercise is that a lot less files depends on DEVFS, and devtoname() gets more sensible output in many cases. A few drivers had minor additional cleanups performed relating to cdevsw registration. A few drivers don't register a cdevsw{} anymore, but only use make_dev().
* Fix fd race conditions (during shared fd table usage.) Badfileops isgreen1999-08-041-4/+4
| | | | | | | | | | | | now used in f_ops in place of NULL, and modifications to the files are more carefully ordered. f_ops should also be set to &badfileops upon "close" of a file. This does not fix other problems mentioned in this PR than the first one. PR: 11629 Reviewed by: peter
* Cleanup - diked out a heap of old KLM stuff that isn't needed anymore.newton1999-08-011-65/+3
|
* Eliminate 'WARNING: "streams" is usurping "streams"'s cdevsw[]' messagesnewton1999-07-301-2/+2
| | | | at boot
* Simplify cdevsw registration.phk1999-05-311-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | | The cdevsw_add() function now finds the major number(s) in the struct cdevsw passed to it. cdevsw_add_generic() is no longer needed, cdevsw_add() does the same thing. cdevsw_add() will print an message if the d_maj field looks bogus. Remove nblkdev and nchrdev variables. Most places they were used bogusly. Instead check a dev_t for validity by seeing if devsw() or bdevsw() returns NULL. Move bdevsw() and devsw() functions to kern/kern_conf.c Bump __FreeBSD_version to 400006 This commit removes: 72 bogus makedev() calls 26 bogus SYSINIT functions if_xe.c bogusly accessed cdevsw[], author/maintainer please fix. I4b and vinum not changed. Patches emailed to authors. LINT probably broken until they catch up.
* This commit should be a extensive NO-OP:phk1999-05-301-14/+20
| | | | | | | | | | | | | Reformat and initialize correctly all "struct cdevsw". Initialize the d_maj and d_bmaj fields. The d_reset field was not removed, although it is never used. I used a program to do most of this, so all the files now use the same consistent format. Please keep it that way. Vinum and i4b not modified, patches emailed to respective authors.
* ``fix'' the devfs_add_devswf() calls, the printf string wasn't factoringpeter1999-05-061-10/+10
| | | | | in the unit number. I'm not so sure about this at all, the SVR4 systems I have access to have a mixture of names and often %03d format units.
* Converted "streams" pseudo-device into a KLDnewton1999-02-221-0/+29
|
* Nuke some prototypes that really shouldn't be here.newton1999-02-011-8/+0
|
* New pseudo-device to provide for a way of obtaining a socket by open()ingnewton1999-01-301-0/+427
something in /dev. Obtained from: Christos Zoulas, with FreeBSD modifications
OpenPOWER on IntegriCloud