13895Szx143588 /*
23895Szx143588 * CDDL HEADER START
33895Szx143588 *
43895Szx143588 * The contents of this file are subject to the terms of the
53895Szx143588 * Common Development and Distribution License (the "License").
63895Szx143588 * You may not use this file except in compliance with the License.
73895Szx143588 *
83895Szx143588 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
93895Szx143588 * or http://www.opensolaris.org/os/licensing.
103895Szx143588 * See the License for the specific language governing permissions
113895Szx143588 * and limitations under the License.
123895Szx143588 *
133895Szx143588 * When distributing Covered Code, include this CDDL HEADER in each
143895Szx143588 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
153895Szx143588 * If applicable, add the following below this CDDL HEADER, with the
163895Szx143588 * fields enclosed by brackets "[]" replaced with your own identifying
173895Szx143588 * information: Portions Copyright [yyyy] [name of copyright owner]
183895Szx143588 *
193895Szx143588 * CDDL HEADER END
203895Szx143588 */
213895Szx143588
223895Szx143588 /*
233895Szx143588 * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
243895Szx143588 * Use is subject to license terms.
253895Szx143588 */
263895Szx143588
273895Szx143588 #pragma ident "%Z%%M% %I% %E% SMI"
283895Szx143588
293895Szx143588 #include <string.h>
303895Szx143588 #include <fm/topo_mod.h>
313895Szx143588 #include <libnvpair.h>
323895Szx143588 #include <util.h>
333895Szx143588 #include <pcibus.h>
343895Szx143588 #include <did.h>
353895Szx143588 #include <pcibus_labels.h>
363895Szx143588
373895Szx143588 int
pci_fru_compute(topo_mod_t * mod,tnode_t * node,nvlist_t * in,nvlist_t ** out)383895Szx143588 pci_fru_compute(topo_mod_t *mod, tnode_t *node, nvlist_t *in, nvlist_t **out)
393895Szx143588 {
40*5204Sstephh return (pci_fru_cmn(mod, node, in, out));
413895Szx143588 }
42