Home | History | Annotate | Line # | Download | only in vr
      1 /*	$NetBSD: vrc4173icureg.h,v 1.1 2001/06/13 07:32:48 enami Exp $	*/
      2 
      3 /*-
      4  * Copyright (c) 2001 Enami Tsugutomo.
      5  * All rights reserved.
      6  *
      7  * Redistribution and use in source and binary forms, with or without
      8  * modification, are permitted provided that the following conditions
      9  * are met:
     10  * 1. Redistributions of source code must retain the above copyright
     11  *    notice, this list of conditions and the following disclaimer.
     12  * 2. Redistributions in binary form must reproduce the above copyright
     13  *    notice, this list of conditions and the following disclaimer in the
     14  *    documentation and/or other materials provided with the distribution.
     15  *
     16  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
     17  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     18  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     19  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
     20  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
     21  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
     22  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
     23  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
     24  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
     25  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
     26  * SUCH DAMAGE.
     27  */
     28 
     29 #define	VRC4173ICU_IOBASE	0x060
     30 #define	VRC4173ICU_IOSIZE	0x018
     31 
     32 #define	VRC4173ICU_SYSINT1	0x00
     33 #define	VRC4173ICU_DOZEPIUINTR	13
     34 #define	VRC4173ICU_AC97INTR1	10
     35 #define	VRC4173ICU_AC97INTR	9
     36 #define	VRC4173ICU_GIUINTR	8
     37 #define	VRC4173ICU_KIUINTR	7
     38 #define	VRC4173ICU_AIUINTR	6
     39 #define	VRC4173ICU_PIUINTR	5
     40 #define	VRC4173ICU_PS2CH1INTR	4
     41 #define	VRC4173ICU_PS2CH2INTR	3
     42 #define	VRC4173ICU_PCMCIA1INTR	2
     43 #define	VRC4173ICU_PCMCIA2INTR	1
     44 #define	VRC4173ICU_USBINTR	0
     45 
     46 #define	VRC4173ICU_PIUINT	0x02
     47 #define	VRC4173ICU_AIUINT	0x04
     48 
     49 #define	VRC4173ICU_KIUINT	0x06
     50 #define	VRC4173ICU_KDATLOST	(1<<2)
     51 #define	VRC4173ICU_KDATRDY	(1<<1)
     52 #define	VRC4173ICU_SCANINT	(1<<0)
     53 
     54 #define	VRC4173ICU_GIULINT	0x08
     55 #define	VRC4173ICU_GIUHINT	0x0a
     56 
     57 #define	VRC4173ICU_MSYSINT1	0x0c
     58 #define	VRC4173ICU_MPIUINT	0x0e
     59 #define	VRC4173ICU_MAIUINT	0x10
     60 #define	VRC4173ICU_MKIUINT	0x12
     61 #define	VRC4173ICU_MGIULINT	0x14
     62 #define	VRC4173ICU_MGIUHINT	0x16
     63