2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 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) 2011, 2012, Oracle and/or its affiliates. All rights reserved. 2N/A * The routines in this file are what's needed to create a bay topo node. 2N/A "failed to set label (%s) for %s:%d: (%s)\n",
2N/A * Create the authority pgroup and inherit info from the parent. 2N/A char *f =
"bay_set_auth";
2N/A /* not existing and failed to create */ 2N/A /* get auth list from parent */ 2N/A * Set the authority data. 2N/A * Continue even if some authority information is not available 2N/A * to enumerate as much as possible. 2N/A "for bay node\n", f);
2N/A * Create the system pgoup and inherit the info from the parent. 2N/A /* not existing and failed to create */ 2N/A "bay_set_system: failed to create system pgroup: %s.\n",
2N/A "bay_set_system: failed to get ISA: %d\n",
errno);
2N/A /* failed to inherit or create prop */ 2N/A "bay_set_system: failed to set isa " 2N/A "system property: %s\n",
2N/A "bay_set_system: failed to get uname: %d\n",
2N/A /* failed to inherit or create prop */ 2N/A "bay_set_system: failed to set " 2N/A "system machine property: %s\n",
2N/A * Create bay topo node. 2N/A char *f =
"bay_create_tnode";
2N/A /* bind the node to the parent */ 2N/A /* set the label (bay_set_label) */ 2N/A /* report the error and drive on */ 2N/A "%s: failed to set label for %s:%d: (%s)\n",
2N/A /* set authority info (bay_set_auth) */ 2N/A /* report the error and drive on */ 2N/A "%s: failed to set auth for %s:%d: (%s)\n",
2N/A /* don't set system info if under an external chassis */ 2N/A /* set the system info (bay_set_system) */ 2N/A /* report the error and drive on */ 2N/A "%s: failed to set system for %s:%d: (%s)\n",