Searched refs:FLOPPY_MAJOR (Results 1 – 8 of 8) sorted by relevance
/linux-2.6.39/drivers/block/ |
D | swim.c | 833 err = register_blkdev(FLOPPY_MAJOR, "fd"); in swim_floppy_init() 836 FLOPPY_MAJOR); in swim_floppy_init() 857 swd->unit[drive].disk->major = FLOPPY_MAJOR; in swim_floppy_init() 867 blk_register_region(MKDEV(FLOPPY_MAJOR, 0), 256, THIS_MODULE, in swim_floppy_init() 873 unregister_blkdev(FLOPPY_MAJOR, "fd"); in swim_floppy_init() 946 blk_unregister_region(MKDEV(FLOPPY_MAJOR, 0), 256); in swim_remove() 953 unregister_blkdev(FLOPPY_MAJOR, "fd"); in swim_remove() 1000 MODULE_ALIAS_BLOCKDEV_MAJOR(FLOPPY_MAJOR);
|
D | ataflop.c | 1930 if (register_blkdev(FLOPPY_MAJOR,"fd")) in atari_floppy_init() 1963 unit[i].disk->major = FLOPPY_MAJOR; in atari_floppy_init() 1976 blk_register_region(MKDEV(FLOPPY_MAJOR, 0), 256, THIS_MODULE, in atari_floppy_init() 1994 unregister_blkdev(FLOPPY_MAJOR, "fd"); in atari_floppy_init() 2040 blk_unregister_region(MKDEV(FLOPPY_MAJOR, 0), 256); in atari_floppy_exit() 2048 unregister_blkdev(FLOPPY_MAJOR, "fd"); in atari_floppy_exit()
|
D | amiflop.c | 1736 disk->major = FLOPPY_MAJOR; in fd_probe_drives() 1767 if (register_blkdev(FLOPPY_MAJOR,"fd")) in amiga_floppy_probe() 1792 blk_register_region(MKDEV(FLOPPY_MAJOR, 0), 256, THIS_MODULE, in amiga_floppy_probe() 1837 unregister_blkdev(FLOPPY_MAJOR,"fd"); in amiga_floppy_probe() 1856 blk_unregister_region(MKDEV(FLOPPY_MAJOR, 0), 256); 1861 unregister_blkdev(FLOPPY_MAJOR, "fd");
|
D | swim3.c | 1148 if (register_blkdev(FLOPPY_MAJOR, "fd")) in swim3_attach() 1152 unregister_blkdev(FLOPPY_MAJOR, "fd"); in swim3_attach() 1163 disk->major = FLOPPY_MAJOR; in swim3_attach() 1213 MODULE_ALIAS_BLOCKDEV_MAJOR(FLOPPY_MAJOR);
|
D | floppy.c | 4205 disks[dr]->major = FLOPPY_MAJOR; in floppy_init() 4215 err = register_blkdev(FLOPPY_MAJOR, "fd"); in floppy_init() 4223 blk_register_region(MKDEV(FLOPPY_MAJOR, 0), 256, THIS_MODULE, in floppy_init() 4364 blk_unregister_region(MKDEV(FLOPPY_MAJOR, 0), 256); in floppy_init() 4367 unregister_blkdev(FLOPPY_MAJOR, "fd"); in floppy_init() 4568 blk_unregister_region(MKDEV(FLOPPY_MAJOR, 0), 256); in floppy_module_exit() 4569 unregister_blkdev(FLOPPY_MAJOR, "fd"); in floppy_module_exit() 4618 MODULE_ALIAS_BLOCKDEV_MAJOR(FLOPPY_MAJOR);
|
/linux-2.6.39/include/linux/ |
D | root_dev.h | 12 Root_FD0 = MKDEV(FLOPPY_MAJOR, 0),
|
D | major.h | 12 #define FLOPPY_MAJOR 2 macro
|
/linux-2.6.39/init/ |
D | do_mounts.c | 417 if (MAJOR(ROOT_DEV) == FLOPPY_MAJOR) { in mount_root() 483 is_floppy = MAJOR(ROOT_DEV) == FLOPPY_MAJOR; in prepare_namespace()
|