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()816 for (drive = 0; drive < swd->floppy_count; drive++) { in swim_floppy_init()834 for (drive = 0; drive < swd->floppy_count; drive++) { in swim_floppy_init()925 for (drive = 0; drive < swd->floppy_count; drive++) in swim_remove()932 for (drive = 0; drive < swd->floppy_count; drive++) in swim_remove()
220 static int floppy_count = 0; variable1196 if (floppy_count >= MAX_FLOPPIES) in swim3_attach()1199 if (floppy_count == 0) { in swim3_attach()1205 fs = &floppy_states[floppy_count]; in swim3_attach()1219 rc = swim3_add_device(mdev, floppy_count); in swim3_attach()1224 disk->first_minor = floppy_count; in swim3_attach()1230 sprintf(disk->disk_name, "fd%d", floppy_count); in swim3_attach()1236 disks[floppy_count++] = disk; in swim3_attach()1244 if (floppy_count == 0) in swim3_attach()