1*638059b3Stsutsui /* $NetBSD: sgcreg.h,v 1.1 2011/02/12 05:15:39 tsutsui Exp $ */ 2*638059b3Stsutsui /* $OpenBSD: sgcreg.h,v 1.1 2005/01/14 22:39:26 miod Exp $ */ 3*638059b3Stsutsui 4*638059b3Stsutsui /* 5*638059b3Stsutsui * Copyright (c) 2005, Miodrag Vallat 6*638059b3Stsutsui * 7*638059b3Stsutsui * Redistribution and use in source and binary forms, with or without 8*638059b3Stsutsui * modification, are permitted provided that the following conditions 9*638059b3Stsutsui * are met: 10*638059b3Stsutsui * 1. Redistributions of source code must retain the above copyright 11*638059b3Stsutsui * notice, this list of conditions and the following disclaimer. 12*638059b3Stsutsui * 2. Redistributions in binary form must reproduce the above copyright 13*638059b3Stsutsui * notice, this list of conditions and the following disclaimer in the 14*638059b3Stsutsui * documentation and/or other materials provided with the distribution. 15*638059b3Stsutsui * 16*638059b3Stsutsui * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 17*638059b3Stsutsui * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 18*638059b3Stsutsui * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 19*638059b3Stsutsui * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 20*638059b3Stsutsui * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 21*638059b3Stsutsui * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 22*638059b3Stsutsui * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23*638059b3Stsutsui * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 24*638059b3Stsutsui * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 25*638059b3Stsutsui * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 26*638059b3Stsutsui * POSSIBILITY OF SUCH DAMAGE. 27*638059b3Stsutsui */ 28*638059b3Stsutsui 29*638059b3Stsutsui /* 30*638059b3Stsutsui * Register definitions for the SGC bus. 31*638059b3Stsutsui */ 32*638059b3Stsutsui 33*638059b3Stsutsui /* 34*638059b3Stsutsui * SGC ranges from slots 0-3 at physical addresses given by: 35*638059b3Stsutsui * 0x20000000 + slot * 0x04000000 36*638059b3Stsutsui */ 37*638059b3Stsutsui 38*638059b3Stsutsui #define SGC_BASE 0x20000000 39*638059b3Stsutsui #define SGC_END 0x30000000 40*638059b3Stsutsui #define SGC_DEVSIZE 0x04000000 41*638059b3Stsutsui 42*638059b3Stsutsui #define SGC_NSLOTS 4 43