Lines Matching defs:bi_unit
1026 static struct btinfo_bootdev_unit *bi_unit = NULL;
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));
1062 if (ctrlnode == bi_unit->parent) {
1067 " %x : %s\n", ctrlnode, ctrl_path, bi_unit->parent,
1077 if (openbios_secondary_ata_heuristic(bi_unit->parent))
1081 if (bi_unit->wwn != wwn || (bi_unit->target+off) != target
1082 || bi_unit->lun != lun) {
1085 bi_unit->wwn, wwn, bi_unit->target, target, bi_unit->lun, lun));