freebsd-dev/sys/dev/syscons
Poul-Henning Kamp 2447bec829 Simplify cdevsw registration.
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.
1999-05-31 11:29:30 +00:00
..
blank The first stage of console driver reorganization: activate new 1999-01-11 03:18:56 +00:00
daemon Followup to yokota's last commit: 1999-02-05 12:40:16 +00:00
fade The first stage of console driver reorganization: activate new 1999-01-11 03:18:56 +00:00
fire MFS: indent-assisted style cleanup. 1999-05-10 15:25:50 +00:00
green The first stage of console driver reorganization: activate new 1999-01-11 03:18:56 +00:00
logo Centralize and reorganize a few macros. 1999-04-12 13:34:58 +00:00
rain Centralize and reorganize a few macros. 1999-04-12 13:34:58 +00:00
snake Followup to yokota's last commit: 1999-02-05 12:40:16 +00:00
star Followup to yokota's last commit: 1999-02-05 12:40:16 +00:00
warp Centralize and reorganize a few macros. 1999-04-12 13:34:58 +00:00
scvesactl.c The first stage of console driver reorganization: activate new 1999-01-11 03:18:56 +00:00
scvidctl.c - Don't assume the line length in the video memory is always the same as 1999-02-05 11:52:13 +00:00
syscons.c Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
syscons.h Centralize and reorganize a few macros. 1999-04-12 13:34:58 +00:00