freebsd-nq/sys/dev/ata
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
..
ata-all.c Eigth update to the new ATA/ATAPI driver: 1999-05-20 09:12:06 +00:00
ata-all.h Update to use the new-bus framework. No functional changes. 1999-04-18 20:48:15 +00:00
ata-disk.c Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
ata-disk.h Eigth update to the new ATA/ATAPI driver: 1999-05-20 09:12:06 +00:00
ata-dma.c Allow chipset drivers to specify the direct-mapped DMA window's mask in 1999-05-26 23:01:57 +00:00
atapi-all.c Eigth update to the new ATA/ATAPI driver: 1999-05-20 09:12:06 +00:00
atapi-all.h Eigth update to the new ATA/ATAPI driver: 1999-05-20 09:12:06 +00:00
atapi-cd.c Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
atapi-cd.h Added driver to support ATAPI floppies ie LS-120 & ZIP drives. 1999-03-03 21:10:29 +00:00
atapi-fd.c Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
atapi-fd.h Eigth update to the new ATA/ATAPI driver: 1999-05-20 09:12:06 +00:00
atapi-tape.c Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
atapi-tape.h ZIP drives should now be working, I'm not sure about LS120 drives, 1999-03-07 21:49:14 +00:00