Lines Matching defs:unit
79 unsigned u, unit;
97 /* get unit # */
101 unit = 0;
102 GETDECIMAL(unit, p);
105 *punit = unit;
144 * [/<controller>@<unit>/]<device>@<unit>[,<lun>][:<partition>]
146 * <unit> must be target SCSI ID if <device> is a SCSI device
169 unsigned major, unit, lun, partition;
209 * <type>@unit[,lun][:part]
213 /* get device unit # */
218 xerrx(1, "%s: missing unit number", devstr);
222 unit = 0;
223 GETDECIMAL(unit, s);
247 xerrx(1, "%s: interface unit # too large", devstr);
248 if (unit >= 16)
249 xerrx(1, "%s: device unit # too large", devstr);
266 unit, lun, partition);
269 dev = X68K_MAKEBOOTDEV(major, unit, partition);
273 xwarnx("%s: major %u, if %u, un_if %u, unit %u, lun %u, partition %u; bootdev 0x%x",
274 devstr, major, interface, unit_if, unit, lun, partition, dev);
432 \t format: [/interface/]device@unit[,lun][:partition]\n\
436 \t unit: device unit number (SCSI ID for SCSI device)\n\