freebsd-skq/sys/alpha
phk 6a5dc97620 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
..
alpha Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
conf A forgotten bit of my ST6600 commit 1999-05-27 22:03:31 +00:00
include Add support for the DEC_ST6600 family of alphas. This includes the 1999-05-26 23:22:14 +00:00
isa Use resource allocation apis to get ports. 1999-05-30 10:49:25 +00:00
linux - Handle mixer read ioctls correctly. They have the same group, number and 1999-04-29 04:37:57 +00:00
pci Add support for the DEC_ST6600 family of alphas. This includes the 1999-05-26 23:22:14 +00:00
tc Serves me right for doing this by inspection and then a build afterwards 1999-05-10 16:36:42 +00:00
tlsb This commit should be a extensive NO-OP: 1999-05-30 16:53:49 +00:00