freebsd-dev/sys/amd64
phk 447bf5968f 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
..
amd64 Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
conf This commit adds driver support for PCI fast ethernet cards based on the 1999-05-21 04:37:48 +00:00
include Stop the TSC from being used as timecounter on K5/step0 machines. 1999-05-29 06:57:55 +00:00
isa Allow up to 8 ports, 4 memory regions and two irqs and drqs. 1999-05-30 11:05:39 +00:00
pci Move pcibus (host -> pci bus) probe/attach routines from nexus 1999-05-18 20:48:43 +00:00
Makefile Update to know about current kernel directory layout. 1999-02-28 22:14:16 +00:00