2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License, Version 1.0 only 2N/A * (the "License"). You may not use this file except in compliance 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright (c) 1999 by Sun Microsystems, Inc. 2N/A * All rights reserved. 2N/A#
pragma ident "%Z%%M% %I% %E% SMI" 2N/A * We scan through the tree looking for nodes that don't have 2N/A * one of my structures attached, and for each of those nodes 2N/A * I attempt to match it with a real firmware node 2N/A * This is not nice; new_device calls the allocate_phandle 2N/A * routine without exception, we need to disable the allocation 2N/A * while we are building the tree to the attachment point 2N/A * which is why the init_done variable exists. 2N/A * Installs /openprom and /packages nodes and sub-nodes.