1e00d3f43Smatthieu /* $NetBSD: ibm561var.h,v 1.1 2001/12/12 07:46:48 elric Exp $ */ 2*d874cce4Sray /* $OpenBSD: ibm561var.h,v 1.2 2008/06/26 05:42:15 ray Exp $ */ 3e00d3f43Smatthieu 4e00d3f43Smatthieu /*- 5e00d3f43Smatthieu * Copyright (c) 2001 The NetBSD Foundation, Inc. 6e00d3f43Smatthieu * All rights reserved. 7e00d3f43Smatthieu * 8e00d3f43Smatthieu * This code is derived from software contributed to The NetBSD Foundation 9e00d3f43Smatthieu * by Roland C. Dowdeswell of Ponte, Inc. 10e00d3f43Smatthieu * 11e00d3f43Smatthieu * Redistribution and use in source and binary forms, with or without 12e00d3f43Smatthieu * modification, are permitted provided that the following conditions 13e00d3f43Smatthieu * are met: 14e00d3f43Smatthieu * 1. Redistributions of source code must retain the above copyright 15e00d3f43Smatthieu * notice, this list of conditions and the following disclaimer. 16e00d3f43Smatthieu * 2. Redistributions in binary form must reproduce the above copyright 17e00d3f43Smatthieu * notice, this list of conditions and the following disclaimer in the 18e00d3f43Smatthieu * documentation and/or other materials provided with the distribution. 19e00d3f43Smatthieu * 20e00d3f43Smatthieu * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 21e00d3f43Smatthieu * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 22e00d3f43Smatthieu * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 23e00d3f43Smatthieu * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 24e00d3f43Smatthieu * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25e00d3f43Smatthieu * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26e00d3f43Smatthieu * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27e00d3f43Smatthieu * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28e00d3f43Smatthieu * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29e00d3f43Smatthieu * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30e00d3f43Smatthieu * POSSIBILITY OF SUCH DAMAGE. 31e00d3f43Smatthieu */ 32e00d3f43Smatthieu 33e00d3f43Smatthieu struct ramdac_funcs *ibm561_funcs(void); 34e00d3f43Smatthieu struct ramdac_cookie *ibm561_register (void *, 35e00d3f43Smatthieu int (*)(void *, void (*)(void *)), 36e00d3f43Smatthieu void (*)(void *, u_int, u_int8_t), 37e00d3f43Smatthieu u_int8_t (*)(void *, u_int)); 38e00d3f43Smatthieu void ibm561_cninit (void *, 39e00d3f43Smatthieu int (*)(void *, void (*)(void *)), 40e00d3f43Smatthieu void (*)(void *, u_int, u_int8_t), 41e00d3f43Smatthieu u_int8_t (*)(void *, u_int), u_int); 42