summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-01-30 20:34:23 +0000
committerphk <phk@FreeBSD.org>2003-01-30 20:34:23 +0000
commit10368fffb1d835224b6bc69ba27c8d7df0def2d2 (patch)
tree96c17d49e8ea0bcfcc969ba4c2dbd2676bf901bb /lib
parent8fe9dd24e05669b545bdaf81f691a5000f652f44 (diff)
downloadFreeBSD-src-10368fffb1d835224b6bc69ba27c8d7df0def2d2.zip
FreeBSD-src-10368fffb1d835224b6bc69ba27c8d7df0def2d2.tar.gz
Add some agility to the disk_create() API:
Make passing the methods in a cdevsw structure optional. Move "CANFREE" and "NOGIANT" flags into struct disk instead of the cdevsw which may or may not be there. Rename CANFREE to CANDELETE to match BIO_DELETE operation. Add "OPEN" flag so drivers don't have to provide open/close methods just to maintain such a flag. Add temporary stopgap include of <sys/conf.h> to <sys/disk.h> until the files which have them in the other order are fixed. Add KASSERTS to make sure we don't get fed too many NULL pointers. Clear our geom's softc pointer before we wither.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud