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) 2007, 2012, Oracle and/or its affiliates. All rights reserved. 2N/A * sun4v specific cpuboard enumerator 2N/A/* Until future PRI changes, make connection between cpuboard id and RC */ 2N/A * PRI nodes are still named "cpu-board", but the canonical 2N/A * names are "cpuboard". 2N/A "id md_get_prop_val() failed. (%d: %s)\n",
2N/A "id %llx out of range. (%d: %s)\n",
2N/A * Turn on module debugging output 2N/A return;
/* mod errno already set */ 2N/A "Unable to make nvlist for %s bind: %s.\n",
2N/A "topo_node_bind (%s%d/%s%d) failed: %s\n",
2N/A "cpuboard_tnode_create: topo_node_bind (%s%d/%s%d) created!\n",
2N/A /* set ASRU to resource fmri */ 2N/A "Currently only know how to enumerate %s components.\n",
2N/A "Calling chip_enum for inst: %lx\n",
inst);
2N/A "%s enumerator could not load %s enum. (%d: %s)\n",
2N/A "NULL di_devfs_path.\n");
2N/A "got px %d, node named: %s, path: %s\n",
2N/A "Currently only know how to enumerate %s components.\n",
2N/A /* Make sure we don't exceed CPUBOARD_MAX */ 2N/A /* Scan PRI for cpu-boards. */ 2N/A * if no PRI available (i.e. not in Control Domain), 2N/A * use px driver to determine cpuboard presence. 2N/A * NOTE: with this approach there will be no 2N/A * identity information - no SN nor PN. 2N/A "Enumeration of cpuboard failed: %s\n",
2N/A return (-
1);
/* mod_errno already set */ 2N/A return (-
1);
/* mod_errno already set */ 2N/A "HOSTBRIDGE failed: %s\n",