iris_autoconf.c revision 1.1
11.1Stsutsui/* $NetBSD: iris_autoconf.c,v 1.1 2019/01/12 16:44:47 tsutsui Exp $ */ 21.1Stsutsui 31.1Stsutsui/* 41.1Stsutsui * Copyright (c) 2018 Naruaki Etomi 51.1Stsutsui * All rights reserved. 61.1Stsutsui * 71.1Stsutsui * Redistribution and use in source and binary forms, with or without 81.1Stsutsui * modification, are permitted provided that the following conditions 91.1Stsutsui * are met: 101.1Stsutsui * 1. Redistributions of source code must retain the above copyright 111.1Stsutsui * notice, this list of conditions and the following disclaimer. 121.1Stsutsui * 2. Redistributions in binary form must reproduce the above copyright 131.1Stsutsui * notice, this list of conditions and the following disclaimer in the 141.1Stsutsui * documentation and/or other materials provided with the distribution. 151.1Stsutsui * 161.1Stsutsui * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 171.1Stsutsui * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 181.1Stsutsui * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 191.1Stsutsui * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 201.1Stsutsui * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 211.1Stsutsui * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 221.1Stsutsui * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 231.1Stsutsui * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 241.1Stsutsui * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 251.1Stsutsui * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 261.1Stsutsui */ 271.1Stsutsui 281.1Stsutsui/* 291.1Stsutsui * Silicon Graphics "IRIS" series MIPS processors machine bootloader. 301.1Stsutsui * Find and init devices. 311.1Stsutsui */ 321.1Stsutsui 331.1Stsutsui#include <mips/cpuregs.h> 341.1Stsutsui#include "iris_machdep.h" 351.1Stsutsui 361.1Stsutsuivoid 371.1Stsutsuifind_devs(void) 381.1Stsutsui{ 391.1Stsutsui 401.1Stsutsui wd33c93_init((void *)MIPS_PHYS_TO_KSEG1(SCSIA_ADDR), 411.1Stsutsui (void *)MIPS_PHYS_TO_KSEG1(SCSID_ADDR)); 421.1Stsutsui} 43