1*f8bc0014Sigy /* $NetBSD: vripunit.h,v 1.5 2003/05/01 07:02:06 igy Exp $ */ 2a0584b29Stakemura 3a0584b29Stakemura /*- 4a0584b29Stakemura * Copyright (c) 2002 TAKEMURA Shin 5a0584b29Stakemura * All rights reserved. 6a0584b29Stakemura * 7a0584b29Stakemura * Redistribution and use in source and binary forms, with or without 8a0584b29Stakemura * modification, are permitted provided that the following conditions 9a0584b29Stakemura * are met: 10a0584b29Stakemura * 1. Redistributions of source code must retain the above copyright 11a0584b29Stakemura * notice, this list of conditions and the following disclaimer. 12a0584b29Stakemura * 2. Redistributions in binary form must reproduce the above copyright 13a0584b29Stakemura * notice, this list of conditions and the following disclaimer in the 14a0584b29Stakemura * documentation and/or other materials provided with the distribution. 15a0584b29Stakemura * 3. Neither the name of the project nor the names of its contributors 16a0584b29Stakemura * may be used to endorse or promote products derived from this software 17a0584b29Stakemura * without specific prior written permission. 18a0584b29Stakemura * 19a0584b29Stakemura * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 20a0584b29Stakemura * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21a0584b29Stakemura * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22a0584b29Stakemura * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 23a0584b29Stakemura * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24a0584b29Stakemura * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25a0584b29Stakemura * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26a0584b29Stakemura * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27a0584b29Stakemura * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28a0584b29Stakemura * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29a0584b29Stakemura * SUCH DAMAGE. 30a0584b29Stakemura * 31a0584b29Stakemura */ 32a0584b29Stakemura 33a0584b29Stakemura #ifndef _VRIPUNIT_H_ 34a0584b29Stakemura #define _VRIPUNIT_H_ 35a0584b29Stakemura 36a0584b29Stakemura enum vrip_unit_id { 37a0584b29Stakemura VRIP_UNIT_PMU, 38a0584b29Stakemura VRIP_UNIT_RTC, 39a0584b29Stakemura VRIP_UNIT_PIU, 40a0584b29Stakemura VRIP_UNIT_KIU, 41a0584b29Stakemura VRIP_UNIT_SIU, 42a0584b29Stakemura VRIP_UNIT_GIU, 43a0584b29Stakemura VRIP_UNIT_LED, 44a0584b29Stakemura VRIP_UNIT_AIU, 45a0584b29Stakemura VRIP_UNIT_FIR, 46a0584b29Stakemura VRIP_UNIT_DSIU, 47a0584b29Stakemura VRIP_UNIT_PCIU, 48a0584b29Stakemura VRIP_UNIT_SCU, 49a0584b29Stakemura VRIP_UNIT_CSI, 50a0584b29Stakemura VRIP_UNIT_BCU, 519f231495Stakemura VRIP_UNIT_DMAAU, 529f231495Stakemura VRIP_UNIT_DCU, 53794600ceStakemura VRIP_UNIT_PS2U0, 54794600ceStakemura VRIP_UNIT_PS2U1, 55794600ceStakemura VRIP_UNIT_USBU, 56794600ceStakemura VRIP_UNIT_CARDU0, 57794600ceStakemura VRIP_UNIT_CARDU1, 58*f8bc0014Sigy VRIP_UNIT_ECU, 59a0584b29Stakemura }; 60a0584b29Stakemura 61a0584b29Stakemura #ifdef VRIPUNIT_DEFINE_UNIT_NICKNAME 62a0584b29Stakemura #define VRPMU VRIP_UNIT_PMU 63a0584b29Stakemura #define VRRTC VRIP_UNIT_RTC 64a0584b29Stakemura #define VRPIU VRIP_UNIT_PIU 65a0584b29Stakemura #define VRKIU VRIP_UNIT_KIU 66a0584b29Stakemura #define VRSIU VRIP_UNIT_SIU 67a0584b29Stakemura #define VRGIU VRIP_UNIT_GIU 68a0584b29Stakemura #define VRLED VRIP_UNIT_LED 69a0584b29Stakemura #define VRAIU VRIP_UNIT_AIU 70a0584b29Stakemura #define VRFIR VRIP_UNIT_FIR 71a0584b29Stakemura #define VRDSIU VRIP_UNIT_DSIU 72a0584b29Stakemura #define VRPCIU VRIP_UNIT_PCIU 73a0584b29Stakemura #define VRSCU VRIP_UNIT_SCU 74a0584b29Stakemura #define VRCSI VRIP_UNIT_CSI 75a0584b29Stakemura #define VRBCU VRIP_UNIT_BCU 769f231495Stakemura #define VRDMAAU VRIP_UNIT_DMAAU 779f231495Stakemura #define VRDCU VRIP_UNIT_DCU 78794600ceStakemura #define VRPS2U0 VRIP_UNIT_PS2U0 79794600ceStakemura #define VRPS2U1 VRIP_UNIT_PS2U1 80794600ceStakemura #define VRUSBU VRIP_UNIT_USBU 81794600ceStakemura #define VRCARDU0 VRIP_UNIT_CARDU0 82794600ceStakemura #define VRCARDU1 VRIP_UNIT_CARDU1 83*f8bc0014Sigy #define VRECU VRIP_UNIT_ECU 8479deb5d1Swiz #endif /* VRIPUNIT_DEFINE_UNIT_NICKNAME */ 85a0584b29Stakemura 86a0584b29Stakemura #endif /* _VRIPUNIT_H_ */ 87