blob: cc3e14b3807ad147f3cc0c1c2ddbf97d5da8d986 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
case BDT_FLOPPY:
dv->dv_signature=DRV_SIGNATURE_VAL;
if (!BlkDevInit(bd))
dv->dv_signature=0;
else {
dv->dv_signature=0;
if (make_free)
dv=DrvMakeFreeSlot(bd->first_drive_let);
else
dv=DrvMakeFreeSlot(DrvNextFreeLet(bd->first_drive_let))
if (bd->heads!=FDCChk(bd))
dv->fs_type=FSt_UNKNOWN;
else {
dv->dv_signature=DRV_SIGNATURE_VAL;
dv->bd=bd;
dv->fs_type=FSt_REDSEA;
RedSeaInit(dv);
}
}
break;
|