freebsd-dev/sys/fs/cd9660
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
..
cd9660_bmap.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
cd9660_lookup.c Add support for Joliet extensions to the iso9660 fs. The related PR 1999-04-18 10:58:03 +00:00
cd9660_mount.h Add support for Joliet extensions to the iso9660 fs. The related PR 1999-04-18 10:58:03 +00:00
cd9660_node.c Divorce "dev_t" from the "major|minor" bitmap, which is now called 1999-05-11 19:55:07 +00:00
cd9660_node.h Divorce "dev_t" from the "major|minor" bitmap, which is now called 1999-05-11 19:55:07 +00:00
cd9660_rrip.c Divorce "dev_t" from the "major|minor" bitmap, which is now called 1999-05-11 19:55:07 +00:00
cd9660_rrip.h This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
cd9660_util.c The lowercasing of Joliet filenames was not a feature. 1999-05-08 04:35:47 +00:00
cd9660_vfsops.c Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
cd9660_vnops.c Divorce "dev_t" from the "major|minor" bitmap, which is now called 1999-05-11 19:55:07 +00:00
iso_rrip.h Forward declare some structs so that this file is more self-sufficient. 1998-02-03 21:52:02 +00:00
iso.h Add support for Joliet extensions to the iso9660 fs. The related PR 1999-04-18 10:58:03 +00:00
TODO Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
TODO.hibler Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:20:10 +00:00