Lines Matching refs:unit
303 get_floppy_disk_name (char *name, int unit) in get_floppy_disk_name() argument
308 sprintf (name, "/dev/floppy/%d", unit); in get_floppy_disk_name()
310 sprintf (name, "/dev/fd%d", unit); in get_floppy_disk_name()
313 sprintf (name, "/dev/fd%d", unit); in get_floppy_disk_name()
317 sprintf (name, "/dev/fd%d", unit); in get_floppy_disk_name()
319 sprintf (name, "/dev/rfd%d", unit); in get_floppy_disk_name()
323 sprintf (name, "/dev/rfd%da", unit); in get_floppy_disk_name()
326 sprintf (name, "/dev/rfd%dc", unit); in get_floppy_disk_name()
329 sprintf (name, "/dev/fd%d", unit); in get_floppy_disk_name()
332 sprintf (name, "/dev/rdiskette%d", unit); in get_floppy_disk_name()
341 get_ide_disk_name (char *name, int unit) in get_ide_disk_name() argument
345 sprintf (name, "/dev/hd%c", unit + 'a'); in get_ide_disk_name()
348 sprintf (name, "/dev/hd%d", unit); in get_ide_disk_name()
352 sprintf (name, "/dev/ad%d", unit); in get_ide_disk_name()
354 sprintf (name, "/dev/rwd%d", unit); in get_ide_disk_name()
360 sprintf (shortname, "wd%d", unit); in get_ide_disk_name()
368 sprintf (name, "/dev/rwd%dc", unit); in get_ide_disk_name()
373 sprintf (name, "/dev/hd%d", unit); in get_ide_disk_name()
384 get_scsi_disk_name (char *name, int unit) in get_scsi_disk_name() argument
388 sprintf (name, "/dev/sd%c", unit + 'a'); in get_scsi_disk_name()
391 sprintf (name, "/dev/sd%d", unit); in get_scsi_disk_name()
395 sprintf (name, "/dev/da%d", unit); in get_scsi_disk_name()
397 sprintf (name, "/dev/rda%d", unit); in get_scsi_disk_name()
403 sprintf (shortname, "sd%d", unit); in get_scsi_disk_name()
411 sprintf (name, "/dev/rsd%dc", unit); in get_scsi_disk_name()
434 get_ataraid_disk_name (char *name, int unit) in get_ataraid_disk_name() argument
436 sprintf (name, "/dev/ataraid/d%c", unit + '0'); in get_ataraid_disk_name()