usr/src/uts/sun4u/sys/sbbcvar.h
changeset 2536 e191a5109949
parent 0 68f95e015346
equal deleted inserted replaced
2535:b66cbb80977f 2536:e191a5109949
     1 /*
     1 /*
     2  * CDDL HEADER START
     2  * CDDL HEADER START
     3  *
     3  *
     4  * The contents of this file are subject to the terms of the
     4  * The contents of this file are subject to the terms of the
     5  * Common Development and Distribution License, Version 1.0 only
     5  * Common Development and Distribution License (the "License").
     6  * (the "License").  You may not use this file except in compliance
     6  * You may not use this file except in compliance with the License.
     7  * with the License.
       
     8  *
     7  *
     9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
     8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
    10  * or http://www.opensolaris.org/os/licensing.
     9  * or http://www.opensolaris.org/os/licensing.
    11  * See the License for the specific language governing permissions
    10  * See the License for the specific language governing permissions
    12  * and limitations under the License.
    11  * and limitations under the License.
    18  * information: Portions Copyright [yyyy] [name of copyright owner]
    17  * information: Portions Copyright [yyyy] [name of copyright owner]
    19  *
    18  *
    20  * CDDL HEADER END
    19  * CDDL HEADER END
    21  */
    20  */
    22 /*
    21 /*
    23  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
    22  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
    24  * Use is subject to license terms.
    23  * Use is subject to license terms.
    25  */
    24  */
    26 
    25 
    27 #ifndef	_SYS_SBBCVAR_H
    26 #ifndef	_SYS_SBBCVAR_H
    28 #define	_SYS_SBBCVAR_H
    27 #define	_SYS_SBBCVAR_H
   101 	pci_regspec_t *reg;
   100 	pci_regspec_t *reg;
   102 	int nreg;
   101 	int nreg;
   103 	sbbc_pci_rangespec_t *rangep;
   102 	sbbc_pci_rangespec_t *rangep;
   104 	int range_cnt;
   103 	int range_cnt;
   105 	int range_len;
   104 	int range_len;
   106 	struct pci_sbbc *pci_sbbc_map;		/* sbbc registers and devices */
   105 	struct sbbc_regs_map *pci_sbbc_map;	/* SBBC Internal Registers */
   107 	ddi_acc_handle_t pci_sbbc_map_handle;
   106 	ddi_acc_handle_t pci_sbbc_map_handle;
   108 	ddi_iblock_cookie_t sbbc_iblock_cookie; /* interrupt block cookie */
   107 	ddi_iblock_cookie_t sbbc_iblock_cookie; /* interrupt block cookie */
   109 	kmutex_t sbbc_intr_mutex;		/* lock for interrupts */
   108 	kmutex_t sbbc_intr_mutex;		/* lock for interrupts */
   110 	sbbc_child_intr_t *child_intr[MAX_SBBC_DEVICES]; /* intr per device */
   109 	sbbc_child_intr_t *child_intr[MAX_SBBC_DEVICES]; /* intr per device */
   111 	boolean_t suspended;			/* TRUE if driver suspended */
   110 	boolean_t suspended;			/* TRUE if driver suspended */