1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo * CDDL HEADER START
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo * The contents of this file are subject to the terms of the
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo * Common Development and Distribution License (the "License").
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo * You may not use this file except in compliance with the License.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo * See the License for the specific language governing permissions
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo * and limitations under the License.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo * When distributing Covered Code, include this CDDL HEADER in each
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo * If applicable, add the following below this CDDL HEADER, with the
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo * fields enclosed by brackets "[]" replaced with your own identifying
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo * information: Portions Copyright [yyyy] [name of copyright owner]
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo * CDDL HEADER END
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo * Use is subject to license terms.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo#pragma ident "%Z%%M% %I% %E% SMI"
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppoextern "C" {
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo/* Channel IOCTL Commands */
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo#define VLDC_IOCTL_OPT_OP (VLDC_IOCTL | 0x1) /* ctrl op */
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo#define VLDC_IOCTL_READ_COOKIE (VLDC_IOCTL | 0x2) /* read cookie */
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo#define VLDC_IOCTL_WRITE_COOKIE (VLDC_IOCTL | 0x3) /* write cookie */
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo/* supported ctrl operations */
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo/* supported ctrl operation options */
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo/* values returned by VLDC_OPT_OP_STATUS */
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo#define VLDC_PORT_READY 0x4 /* port is open and ready */
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo * Values for VLDC_OPT_MODE are defined in ldc.h.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo * Structure that is used by vldc driver and all its clients to communicate
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo * the type and nature of the option as well as for clients to get port
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo uint32_t opt_val; /* option value to set or returned */
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo * Structure that is used by the LDom manager to download instruction
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo * sequences and read/write new machine descriptions.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo#endif /* _VLDC_H */