xref: /onnv-gate/usr/src/cmd/fm/schemes/mem/i386/mem_disc.c (revision 4759:3a228be89946)
11414Scindi /*
21414Scindi  * CDDL HEADER START
31414Scindi  *
41414Scindi  * The contents of this file are subject to the terms of the
5*4759Ssd77468  * Common Development and Distribution License (the "License").
6*4759Ssd77468  * You may not use this file except in compliance with the License.
71414Scindi  *
81414Scindi  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
91414Scindi  * or http://www.opensolaris.org/os/licensing.
101414Scindi  * See the License for the specific language governing permissions
111414Scindi  * and limitations under the License.
121414Scindi  *
131414Scindi  * When distributing Covered Code, include this CDDL HEADER in each
141414Scindi  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
151414Scindi  * If applicable, add the following below this CDDL HEADER, with the
161414Scindi  * fields enclosed by brackets "[]" replaced with your own identifying
171414Scindi  * information: Portions Copyright [yyyy] [name of copyright owner]
181414Scindi  *
191414Scindi  * CDDL HEADER END
201414Scindi  */
211414Scindi 
221414Scindi /*
23*4759Ssd77468  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
241414Scindi  * Use is subject to license terms.
251414Scindi  */
261414Scindi 
271414Scindi #pragma ident	"%Z%%M%	%I%	%E% SMI"
281414Scindi 
29*4759Ssd77468 #include <mem.h>
30*4759Ssd77468 #include <fm/fmd_fmri.h>
31*4759Ssd77468 
321414Scindi /*
331414Scindi  * We do not yet support DIMM enumeration in the x86 mem scheme because our
341414Scindi  * diagnosis is using the new libtopo functionality and hopefully won't need
351414Scindi  * this before we eventually replace scheme plug-ins entirely w/ libtopo.
361414Scindi  */
371414Scindi int
mem_discover(void)381414Scindi mem_discover(void)
391414Scindi {
401414Scindi 	return (0);
411414Scindi }
42*4759Ssd77468 
43*4759Ssd77468 /*
44*4759Ssd77468  * The following two routines are stubs for corresponding SPARC-only code.
45*4759Ssd77468  */
46*4759Ssd77468 
47*4759Ssd77468 /*ARGSUSED*/
48*4759Ssd77468 int
mem_get_serids_by_unum(const char * unum,char *** seridsp,size_t * nseridsp)49*4759Ssd77468 mem_get_serids_by_unum(const char *unum, char ***seridsp, size_t *nseridsp)
50*4759Ssd77468 {
51*4759Ssd77468 	errno = ENOTSUP;
52*4759Ssd77468 	return (-1);
53*4759Ssd77468 }
54*4759Ssd77468 
55*4759Ssd77468 /*ARGSUSED*/
56*4759Ssd77468 void
mem_expand_opt(nvlist_t * nvl,char * unum,char ** serids)57*4759Ssd77468 mem_expand_opt(nvlist_t *nvl, char *unum, char **serids)
58*4759Ssd77468 {
59*4759Ssd77468 }
60