1*7e4dfb0fSuebayasi /* $Id: exbvar.h,v 1.2 2010/11/06 16:30:15 uebayasi Exp $ */ 2*7e4dfb0fSuebayasi 3*7e4dfb0fSuebayasi /*- 4*7e4dfb0fSuebayasi * Copyright (c) 2010 The NetBSD Foundation, Inc. 5*7e4dfb0fSuebayasi * All rights reserved. 6*7e4dfb0fSuebayasi * 7*7e4dfb0fSuebayasi * This code is derived from software developed for The NetBSD Foundation 8*7e4dfb0fSuebayasi * by Masao Uebayashi. 9*7e4dfb0fSuebayasi * 10*7e4dfb0fSuebayasi * Redistribution and use in source and binary forms, with or without 11*7e4dfb0fSuebayasi * modification, are permitted provided that the following conditions 12*7e4dfb0fSuebayasi * are met: 13*7e4dfb0fSuebayasi * 1. Redistributions of source code must retain the above copyright 14*7e4dfb0fSuebayasi * notice, this list of conditions and the following disclaimer. 15*7e4dfb0fSuebayasi * 2. Redistributions in binary form must reproduce the above copyright 16*7e4dfb0fSuebayasi * notice, this list of conditions and the following disclaimer in the 17*7e4dfb0fSuebayasi * documentation and/or other materials provided with the distribution. 18*7e4dfb0fSuebayasi * 19*7e4dfb0fSuebayasi * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 20*7e4dfb0fSuebayasi * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 21*7e4dfb0fSuebayasi * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 22*7e4dfb0fSuebayasi * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 23*7e4dfb0fSuebayasi * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24*7e4dfb0fSuebayasi * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25*7e4dfb0fSuebayasi * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26*7e4dfb0fSuebayasi * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27*7e4dfb0fSuebayasi * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28*7e4dfb0fSuebayasi * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29*7e4dfb0fSuebayasi * POSSIBILITY OF SUCH DAMAGE. 30*7e4dfb0fSuebayasi */ 31*7e4dfb0fSuebayasi 32*7e4dfb0fSuebayasi #ifndef _POWERPC_IBM4XX_DEV_EXBVAR_H_ 33*7e4dfb0fSuebayasi #define _POWERPC_IBM4XX_DEV_EXBVAR_H_ 34*7e4dfb0fSuebayasi 35*7e4dfb0fSuebayasi struct exb_conf { 36*7e4dfb0fSuebayasi const char *ec_name; 37*7e4dfb0fSuebayasi 38*7e4dfb0fSuebayasi bus_addr_t ec_addr; 39*7e4dfb0fSuebayasi bus_size_t ec_size; 40*7e4dfb0fSuebayasi 41*7e4dfb0fSuebayasi bus_space_tag_t ec_bust; 42*7e4dfb0fSuebayasi }; 43*7e4dfb0fSuebayasi 44*7e4dfb0fSuebayasi bus_space_tag_t exb_get_bus_space_tag(void); 45*7e4dfb0fSuebayasi 46*7e4dfb0fSuebayasi #endif /* _POWERPC_IBM4XX_DEV_EXBVAR_H_ */ 47