Lines Matching refs:bi_unit
1027 static struct btinfo_bootdev_unit *bi_unit = NULL;
1035 bi_unit = lookup_bootinfo(BTINFO_BOOTDEV_UNIT);
1039 if (bi_unit == NULL) {
1050 OF_package_to_path(bi_unit->phandle, dev_path, sizeof(dev_path));
1051 OF_package_to_path(bi_unit->parent, parent_path, sizeof(parent_path));
1053 DPRINTF(ACDB_BOOTDEV, ("phandle %x : %s\n", bi_unit->phandle, dev_path));
1054 DPRINTF(ACDB_BOOTDEV, ("parent %x : %s\n", bi_unit->parent, parent_path));
1056 if (ctrlnode != bi_unit->parent
1057 && !has_child_node(ctrlnode, bi_unit->phandle)) {
1060 ctrlnode, ctrl_path, bi_unit->parent, parent_path));
1063 if (ctrlnode == bi_unit->parent) {
1068 " %x : %s\n", ctrlnode, ctrl_path, bi_unit->parent,
1078 if (openbios_secondary_ata_heuristic(bi_unit->parent))
1082 if (bi_unit->wwn != wwn || (bi_unit->target+off) != target
1083 || bi_unit->lun != lun) {
1086 bi_unit->wwn, wwn, bi_unit->target, target, bi_unit->lun, lun));