11.8Stsutsui/* $NetBSD: intiovar.h,v 1.8 2023/02/11 02:31:34 tsutsui Exp $ */ 21.1Sdbj 31.1Sdbj/*- 41.1Sdbj * Copyright (c) 1996 The NetBSD Foundation, Inc. 51.1Sdbj * All rights reserved. 61.1Sdbj * 71.1Sdbj * This code is derived from software contributed to The NetBSD Foundation 81.1Sdbj * by Jason R. Thorpe. 91.1Sdbj * 101.1Sdbj * Redistribution and use in source and binary forms, with or without 111.1Sdbj * modification, are permitted provided that the following conditions 121.1Sdbj * are met: 131.1Sdbj * 1. Redistributions of source code must retain the above copyright 141.1Sdbj * notice, this list of conditions and the following disclaimer. 151.1Sdbj * 2. Redistributions in binary form must reproduce the above copyright 161.1Sdbj * notice, this list of conditions and the following disclaimer in the 171.1Sdbj * documentation and/or other materials provided with the distribution. 181.1Sdbj * 191.1Sdbj * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 201.1Sdbj * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 211.1Sdbj * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 221.1Sdbj * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 231.1Sdbj * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 241.1Sdbj * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 251.1Sdbj * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 261.1Sdbj * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 271.1Sdbj * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 281.1Sdbj * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 291.1Sdbj * POSSIBILITY OF SUCH DAMAGE. 301.1Sdbj */ 311.1Sdbj 321.1Sdbj/* 331.1Sdbj * Autoconfiguration definitions and prototypes for the next68k 341.1Sdbj * internal i/o space. 351.1Sdbj */ 361.1Sdbj 371.7Stsutsui#include <machine/bus.h> 381.7Stsutsui 391.1Sdbj/* 401.1Sdbj * Arguments used to attach a device to the internal i/o space. 411.1Sdbj */ 421.1Sdbjstruct intio_attach_args { 431.5Schristos void * ia_addr; /* physical address */ 441.2Smycroft bus_space_tag_t ia_bst; /* bus space tag */ 451.2Smycroft bus_dma_tag_t ia_dmat; /* bus dma tag */ 461.1Sdbj}; 471.2Smycroft 481.3Smycroftextern vaddr_t intiobase; 491.3Smycroftextern vaddr_t intiolimit; 501.8Stsutsuiextern vaddr_t fbbase; 511.8Stsutsuiextern vaddr_t fblimit; 521.8Stsutsuiextern paddr_t fbbasepa; 531.8Stsutsuiextern paddr_t fblimitpa; 54