pcibus_hba.c revision ac88567a7a5bb7f01cf22cf366bc9d6203e24d7a
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
#include <strings.h>
#include <fm/topo_mod.h>
#include <did_props.h>
static const topo_pgroup_info_t storage_pgroup =
TOPO_STABILITY_PRIVATE, 1 };
void
{
int err;
char *tmpbuf;
}
void
{
int err;
char *tmpbuf;
}
static void
{
int e, *val;
return;
return;
return;
&e);
} else {
&e);
}
}
static void
{
int e;
return;
return;
return;
}
static tnode_t *
{
int e;
return (NULL);
return (NULL);
return (child);
di_bus_addr(cn), &e);
return (child);
}
void
int niports)
{
int i, j;
return;
/*
* First create any iport nodes.
*/
continue;
continue;
/*
* Now create any scsi-device nodes.
*/
j++;
"smp") != 0)
j++;
continue;
j++, NULL);
"smp") != 0)
/*
* Now create any smp-device nodes.
*/
j++;
continue;
j++);
}
}
void
{
DI_RECEPTACLE_LABEL, &propstrlabel)) <= 0) {
"pci_receptacle_instanciate: rececptacle label not "
"found for the pci function node.\n");
return;
}
"pci_receptacle_instantiate: rececptacle label count %d "
}
for (i = 0; i < rcnt; i++) {
continue;
}
continue;
}
if (label) {
"topo_receptacle_instantiate: "
"topo_node_label_set error(%s)\n",
topo_strerror(err));
}
if (i < lcnt) {
} else {
}
}
continue;
}
}
}