1*18155f04Stsutsui /* $NetBSD: sti_sgcvar.h,v 1.1 2014/04/20 04:12:54 tsutsui Exp $ */ 2*18155f04Stsutsui /*- 3*18155f04Stsutsui * Copyright (c) 2014 Izumi Tsutsui. All rights reserved. 4*18155f04Stsutsui * 5*18155f04Stsutsui * Redistribution and use in source and binary forms, with or without 6*18155f04Stsutsui * modification, are permitted provided that the following conditions 7*18155f04Stsutsui * are met: 8*18155f04Stsutsui * 1. Redistributions of source code must retain the above copyright 9*18155f04Stsutsui * notice, this list of conditions and the following disclaimer. 10*18155f04Stsutsui * 2. Redistributions in binary form must reproduce the above copyright 11*18155f04Stsutsui * notice, this list of conditions and the following disclaimer in the 12*18155f04Stsutsui * documentation and/or other materials provided with the distribution. 13*18155f04Stsutsui * 14*18155f04Stsutsui * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 15*18155f04Stsutsui * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 16*18155f04Stsutsui * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 17*18155f04Stsutsui * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18*18155f04Stsutsui * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19*18155f04Stsutsui * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20*18155f04Stsutsui * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21*18155f04Stsutsui * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22*18155f04Stsutsui * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23*18155f04Stsutsui * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24*18155f04Stsutsui */ 25*18155f04Stsutsui 26*18155f04Stsutsui int sti_sgc_cnprobe(bus_space_tag_t, bus_addr_t, int); 27*18155f04Stsutsui void sti_sgc_cnattach(bus_space_tag_t, bus_addr_t, int); 28