freebsd-skq/sys/i386/isa/matcd
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
..
audio.c Fix typo: the expression .. & .. == .. needs parentheses: (.. & ..) == .. 1998-12-04 21:33:06 +00:00
creative.h More merge and update. 1996-10-30 22:41:46 +00:00
matcd.c Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
matcddrv.h Bring in version 1(26) - considerably less memory usage (and may bring us 1995-10-25 16:41:22 +00:00
options.h More merge and update. 1996-10-30 22:41:46 +00:00
TODO Release summary: (detailed descriptions in Edit History in matcd.c) 1995-07-11 03:03:47 +00:00