HardenedBSD/sys/dev/ppbus
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
..
if_plip.c
immio.c Make ppbus compile under egcs. I'm not sure about this casting-to-union- 1999-04-05 15:43:11 +00:00
lpbb.c Move the declaration of the interrupt type from the driver structure 1999-05-08 21:59:43 +00:00
lpt.c Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
lpt.h
lptio.h
ppb_1284.c
ppb_1284.h
ppb_base.c
ppb_msq.c
ppb_msq.h
ppbconf.c Staticize. 1999-04-11 02:55:52 +00:00
ppbconf.h Make ppbus compile under egcs. I'm not sure about this casting-to-union- 1999-04-05 15:43:11 +00:00
ppi.c Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
ppi.h
pps.c Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
vpo.c The base transfer speed for the parallel port bus is 93K/sec, not 3.3MB/sec. 1999-05-06 21:14:49 +00:00
vpoio.c Make ppbus compile under egcs. I'm not sure about this casting-to-union- 1999-04-05 15:43:11 +00:00
vpoio.h