03831d35f7499c87d51205817c93e9a8d42c4baestevel * CDDL HEADER START
03831d35f7499c87d51205817c93e9a8d42c4baestevel * The contents of this file are subject to the terms of the
03831d35f7499c87d51205817c93e9a8d42c4baestevel * Common Development and Distribution License, Version 1.0 only
03831d35f7499c87d51205817c93e9a8d42c4baestevel * (the "License"). You may not use this file except in compliance
03831d35f7499c87d51205817c93e9a8d42c4baestevel * with the License.
03831d35f7499c87d51205817c93e9a8d42c4baestevel * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
03831d35f7499c87d51205817c93e9a8d42c4baestevel * See the License for the specific language governing permissions
03831d35f7499c87d51205817c93e9a8d42c4baestevel * and limitations under the License.
03831d35f7499c87d51205817c93e9a8d42c4baestevel * When distributing Covered Code, include this CDDL HEADER in each
03831d35f7499c87d51205817c93e9a8d42c4baestevel * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
03831d35f7499c87d51205817c93e9a8d42c4baestevel * If applicable, add the following below this CDDL HEADER, with the
03831d35f7499c87d51205817c93e9a8d42c4baestevel * fields enclosed by brackets "[]" replaced with your own identifying
03831d35f7499c87d51205817c93e9a8d42c4baestevel * information: Portions Copyright [yyyy] [name of copyright owner]
03831d35f7499c87d51205817c93e9a8d42c4baestevel * CDDL HEADER END
03831d35f7499c87d51205817c93e9a8d42c4baestevel * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
03831d35f7499c87d51205817c93e9a8d42c4baestevel * Use is subject to license terms.
03831d35f7499c87d51205817c93e9a8d42c4baestevel#pragma ident "%Z%%M% %I% %E% SMI"
03831d35f7499c87d51205817c93e9a8d42c4baestevel * status.c: support for scadm version option (to display the service processor
03831d35f7499c87d51205817c93e9a8d42c4baestevel * status, fw version)
03831d35f7499c87d51205817c93e9a8d42c4baestevel /* Print the status */
03831d35f7499c87d51205817c93e9a8d42c4baestevel rscStatus->release_rev_major, rscStatus->release_rev_minor);
03831d35f7499c87d51205817c93e9a8d42c4baestevel rscStatus->bootmon_rev_major, rscStatus->bootmon_rev_minor,
03831d35f7499c87d51205817c93e9a8d42c4baestevel (void) printf("%s %08lX\r\n\n", gettext("SC Bootmon checksum:"),
03831d35f7499c87d51205817c93e9a8d42c4baestevel rscStatus->main_rev_major, rscStatus->main_rev_minor,
03831d35f7499c87d51205817c93e9a8d42c4baestevel (void) printf("%s %02d\r\n", gettext("SC Build Release:"),
03831d35f7499c87d51205817c93e9a8d42c4baestevel gettext("SC firmware checksum:"), rscStatus->fw_cksum);
03831d35f7499c87d51205817c93e9a8d42c4baestevel gettext("SC firmware built:"), rscStatus->creationDate);
03831d35f7499c87d51205817c93e9a8d42c4baestevel gettext("SC System Memory Size:"), rscStatus->sys_mem,
03831d35f7499c87d51205817c93e9a8d42c4baestevel gettext("SC NVRAM Version ="), rscStatus->nvram_version);
03831d35f7499c87d51205817c93e9a8d42c4baestevel * Not currently implemented in firmware
03831d35f7499c87d51205817c93e9a8d42c4baestevel * (void) printf("%s = %d\n",
03831d35f7499c87d51205817c93e9a8d42c4baestevel * gettext("Users currently logged in"), rscStatus->nusers);
03831d35f7499c87d51205817c93e9a8d42c4baestevel /* 4388953 Display SC board type */
03831d35f7499c87d51205817c93e9a8d42c4baestevel gettext("SC hardware type:"), rscStatus->hardware_rev);