/src/sys/arch/sparc/stand/ofwboot/ |
ofdev.c | 64 struct btinfo_bootdev_unit bi_unit; variable in typeref:struct:btinfo_bootdev_unit 372 memset(&bi_unit, 0, sizeof(bi_unit)); 409 bi_unit.phandle = phandle; 410 bi_unit.parent = OF_parent(phandle); 411 bi_unit.lun = units[cnt > 2 ? 3 : 1]; 412 bi_unit.target = units[cnt > 2 ? 2 : 0]; 414 bi_unit.wwn = (uint64_t)units[0] << 32 | (uint32_t)units[1]; 417 bi_unit.phandle, bi_unit.parent, bi_unit.lun, bi_unit.target [all...] |
/src/sys/arch/sparc64/sparc64/ |
autoconf.c | 1026 static struct btinfo_bootdev_unit *bi_unit = NULL; local in function:dev_bi_unit_drive_match 1034 bi_unit = lookup_bootinfo(BTINFO_BOOTDEV_UNIT); 1038 if (bi_unit == NULL) { 1049 OF_package_to_path(bi_unit->phandle, dev_path, sizeof(dev_path)); 1050 OF_package_to_path(bi_unit->parent, parent_path, sizeof(parent_path)); 1052 DPRINTF(ACDB_BOOTDEV, ("phandle %x : %s\n", bi_unit->phandle, dev_path)); 1053 DPRINTF(ACDB_BOOTDEV, ("parent %x : %s\n", bi_unit->parent, parent_path)); 1055 if (ctrlnode != bi_unit->parent 1056 && !has_child_node(ctrlnode, bi_unit->phandle)) { 1059 ctrlnode, ctrl_path, bi_unit->parent, parent_path)) [all...] |