Searched refs:floppy_count (Results 1 – 2 of 2) sorted by relevance
213 int floppy_count; member750 struct floppy_state *fs = &swd->unit[swd->floppy_count]; in swim_add_floppy()765 swd->floppy_count++; in swim_add_floppy()819 for (drive = 0; drive < swd->floppy_count; drive++) { in swim_floppy_init()837 for (drive = 0; drive < swd->floppy_count; drive++) { in swim_floppy_init()928 for (drive = 0; drive < swd->floppy_count; drive++) in swim_remove()935 for (drive = 0; drive < swd->floppy_count; drive++) in swim_remove()
220 static int floppy_count = 0; variable1199 if (floppy_count >= MAX_FLOPPIES) in swim3_attach()1202 if (floppy_count == 0) { in swim3_attach()1208 fs = &floppy_states[floppy_count]; in swim3_attach()1222 rc = swim3_add_device(mdev, floppy_count); in swim3_attach()1227 disk->first_minor = floppy_count; in swim3_attach()1233 sprintf(disk->disk_name, "fd%d", floppy_count); in swim3_attach()1239 disks[floppy_count++] = disk; in swim3_attach()1247 if (floppy_count == 0) in swim3_attach()