/*
* 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 1992-2002 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_ECPPREG_H
#define _SYS_ECPPREG_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/*
* Register definitions for the National Semiconductor PC87332VLJ
* SuperI/O chip.
*/
/*
* configuration registers
*/
struct config_reg {
};
/* index values for the configuration registers */
/* bit definitions for the FCR register */
/* bit definitions for the PCR register */
/* bit definitions for the PMC register */
/*
* National 97317 superio registers
*/
/*
* Plug N Play configuration superio registers
* used in PC97317 & M1553
*/
/*
* parallel port interface registers - same for all 1284 modes.
*/
struct info_reg {
union {
} ir;
};
/*
* additional ECP mode registers.
*/
struct fifo_reg {
union {
} fr;
};
/*
* Values for the ECR field
*
* While writing to this register (ECPPIOC_SETREGS), bits 0,1,2 must be 0.
* If not, ECPPIOC_SETREGS will return EINVAL.
*/
/*
* When bit is 0, bit will be set to 1
* and interrupt will be generated if
* any of the three events occur:
* (a) TC is reached while DMA enabled
* (b) If DMA disabled & DCR5 = 0, 8 or more bytes free in FIFO,
* (c) IF DMA disable & DCR5 = 1, 8 or more bytes to be read in FIFO.
*
* When this bit is 1, DMA & (a), (b), (c)
* interrupts are disabled.
*/
/*
* 97317 second level configuration registers
*/
struct config2_reg {
};
/*
* Second level offset
*/
/* Cheerio Ebus DMAC */
struct cheerio_dma_reg {
};
/*
* DMA Control and Status Register(DCSR) definitions. See Cheerio spec
* for more details
*/
/* Southbridge support */
struct isaspace {
};
#ifdef __cplusplus
}
#endif
#endif /* _SYS_ECPPREG_H */