1*587ef940Skiyohara /* $NetBSD: nbppconvar.h,v 1.1 2011/08/06 03:53:40 kiyohara Exp $ */ 2*587ef940Skiyohara /* 3*587ef940Skiyohara * Copyright (c) 2011 KIYOHARA Takashi 4*587ef940Skiyohara * All rights reserved. 5*587ef940Skiyohara * 6*587ef940Skiyohara * Redistribution and use in source and binary forms, with or without 7*587ef940Skiyohara * modification, are permitted provided that the following conditions 8*587ef940Skiyohara * are met: 9*587ef940Skiyohara * 1. Redistributions of source code must retain the above copyright 10*587ef940Skiyohara * notice, this list of conditions and the following disclaimer. 11*587ef940Skiyohara * 2. Redistributions in binary form must reproduce the above copyright 12*587ef940Skiyohara * notice, this list of conditions and the following disclaimer in the 13*587ef940Skiyohara * documentation and/or other materials provided with the distribution. 14*587ef940Skiyohara * 15*587ef940Skiyohara * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 16*587ef940Skiyohara * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 17*587ef940Skiyohara * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 18*587ef940Skiyohara * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 19*587ef940Skiyohara * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20*587ef940Skiyohara * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 21*587ef940Skiyohara * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22*587ef940Skiyohara * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 23*587ef940Skiyohara * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 24*587ef940Skiyohara * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 25*587ef940Skiyohara * POSSIBILITY OF SUCH DAMAGE. 26*587ef940Skiyohara */ 27*587ef940Skiyohara 28*587ef940Skiyohara #ifndef _NBPPCONVAR_H_ 29*587ef940Skiyohara #define _NBPPCONVAR_H_ 30*587ef940Skiyohara 31*587ef940Skiyohara struct nbppcon_attach_args { 32*587ef940Skiyohara const char *aa_name; 33*587ef940Skiyohara int aa_tag; 34*587ef940Skiyohara }; 35*587ef940Skiyohara 36*587ef940Skiyohara void *nbppcon_regist_callback(device_t, 37*587ef940Skiyohara int, int (*)(void *, int, char *), void *); 38*587ef940Skiyohara int nbppcon_intr(device_t, int, char *); 39*587ef940Skiyohara int nbppcon_poll(device_t, int, int, char *); 40*587ef940Skiyohara 41*587ef940Skiyohara int nbppcon_kbd_ready(device_t); 42*587ef940Skiyohara int nbppcon_pwr_hwreset(device_t); 43*587ef940Skiyohara 44*587ef940Skiyohara #endif /* _NBPPCONVAR_H_ */ 45