Home | History | Annotate | Download | only in common

Lines Matching refs:device_capability

62 struct device_capability DEVICE_CAPABILITY;
129 if (!DEVICE_CAPABILITY.active)
132 unit = DEVICE_CAPABILITY.booted_unit;
134 switch (DEVICE_CAPABILITY.booted_device) {
165 if (DEVICE_CAPABILITY.network_enabled) {
284 DEVICE_CAPABILITY.booted_device = booted_device;
286 DEVICE_CAPABILITY.booted_unit = booted_unit;
290 DEVICE_CAPABILITY.active = true;
292 DEVICE_CAPABILITY.network_enabled = true;
295 DEVICE_CAPABILITY.active = true;
298 DEVICE_CAPABILITY.active = false;
302 DEVICE_CAPABILITY.fd_enabled = true; /* always enabled */
304 if (DEVICE_CAPABILITY.active) {
308 if (DEVICE_CAPABILITY.booted_device == NVSRAM_BOOTDEV_HARDDISK)
309 DEVICE_CAPABILITY.disk_enabled = true;
313 DEVICE_CAPABILITY.fd_enabled ? 'x' : '_',
314 DEVICE_CAPABILITY.disk_enabled ? 'x' : '_',
315 DEVICE_CAPABILITY.network_enabled ? 'x' : '_',
318 printf("booted from %s IPL", devname[DEVICE_CAPABILITY.booted_device]);
319 if ((DEVICE_CAPABILITY.booted_device == NVSRAM_BOOTDEV_NETWORK) ||
320 (DEVICE_CAPABILITY.booted_device == NVSRAM_BOOTDEV_NETWORK_T_AND_D))
324 printf(" unit %d\n", DEVICE_CAPABILITY.booted_unit);