freebsd-dev/sys/i386/isa/pcvt
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
..
pcvt_conf.h Part 3 of the pcvt/voxware revival. 1999-01-01 08:23:23 +00:00
pcvt_drv.c Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
pcvt_ext.c Suser() simplification: 1999-04-27 11:18:52 +00:00
pcvt_hdr.h Updated a comment (Crtat is no longer bogusly shared with syscons). 1999-05-12 04:59:27 +00:00
pcvt_kbd.c Make pcvt compile and run again after find_display() is gone as part of 1999-04-20 08:45:27 +00:00
pcvt_kbd.h Make pcvt compile and run again after find_display() is gone as part of 1999-04-20 08:45:27 +00:00
pcvt_out.c Make pcvt compile and run again after find_display() is gone as part of 1999-04-20 08:45:27 +00:00
pcvt_sup.c Part 3 of the pcvt/voxware revival. 1999-01-01 08:23:23 +00:00
pcvt_tbl.h Part 3 of the pcvt/voxware revival. 1999-01-01 08:23:23 +00:00
pcvt_vtf.c Part 3 of the pcvt/voxware revival. 1999-01-01 08:23:23 +00:00