/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (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
*/
/*
* Copyright 2000-2001, 2003 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_HPC3130_DAK_H
#define _SYS_HPC3130_DAK_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
#if defined(_KERNEL)
/* masks */
/*
* masks
*/
/*
* more masks
*/
/* (R/W) Logical level of SLOTRST# (used to reset a slot) */
/* (R/W) Logical level of CLKON# (used to control clock signal) */
/* (R/W) Logical level of REQ64ON# signal */
/* (R/W) Logical level of SLOTREQ64# signal */
/* (R/W) Bus control (for auto sequence level==1?disconnect:connect */
/* (R/W) Logical level of power control on the slot */
/*
* These two macros map between the Hot Plug Services LED constants
* HPC3130 hardware.
*/
static char hpc3130_to_hpc_led_map[] = {
};
static char hpc3130_from_hpc_led_map[] = {
};
/*
* This structure defines an element of the controller's
* slot table array
*/
struct hpc3130_callback_arg {
};
struct hpc3130_slot_table_entry {
};
/*
* The soft state structure
*/
struct hpc3130_unit {
/*
* the following fields hold the value of the "slot-table"
* property for this controller
*/
/*
* the following fields represent the array of hot-plug
* slots derived from the "slot-table" property
*/
/*
* Mutex associated with this structure
*/
/*
* Trap interrupt cookie
*/
/*
* Open flag
*/
int hpc3130_oflag;
/*
* An integer field describing the type
*/
/*
* A place to put the name of this driver
* What gets put here is "hpc3130n" - where
* n is the instance number.
*/
/*
* The handle within the I2C nexus that this instance
* represents.
*/
/*
* condition variable used to throttle power OK signal
*/
/*
* Present vector - if B_TRUE there is a card in the corresponding
* slot.
*/
/*
* Power vector - if B_TRUE, then power is applied to the slot
*/
/*
* Enable vector - if B_TRUE the slot is enabled.
*/
/*
* LED state indicators.
*/
/* For poll(9e)/ioctl(HPC3130_GET_SOFT_EVENT */
};
#endif /* _KERNEL */
#ifdef __cplusplus
}
#endif
#endif /* _SYS_HPC3130_DAK_H */