1/*-
2 * Copyright (c) 1996-1999
3 * Kazutaka YOKOTA (yokota@zodiac.mech.utsunomiya-u.ac.jp)
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
--- 13 unchanged lines hidden (view full) ---
22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 * $Id: $
31 * from kbdio.h,v 1.8 1998/09/25 11:55:46 yokota Exp
32 */
33
34#ifndef _DEV_KBD_ATKBDCREG_H_
35#define _DEV_KBD_ATKBDCREG_H_
36
37/* constants */
38
--- 157 unchanged lines hidden (view full) ---
196 KBDC_IVAR_FLAGS,
197};
198
199typedef caddr_t KBDC;
200
201/* function prototypes */
202
203atkbdc_softc_t *atkbdc_get_softc(int unit);
204int atkbdc_probe_unit(atkbdc_softc_t *sc, int unit, int port);
205int atkbdc_configure(void);
206
207KBDC kbdc_open(int port);
208int kbdc_lock(KBDC kbdc, int lock);
209int kbdc_data_ready(KBDC kbdc);
210
211int write_controller_command(KBDC kbdc,int c);
212int write_controller_data(KBDC kbdc,int c);
--- 34 unchanged lines hidden ---
2 * Copyright (c) 1996-1999
3 * Kazutaka YOKOTA (yokota@zodiac.mech.utsunomiya-u.ac.jp)
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
--- 13 unchanged lines hidden (view full) ---
22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 * $Id: $
31 * from kbdio.h,v 1.8 1998/09/25 11:55:46 yokota Exp
32 */
33
34#ifndef _DEV_KBD_ATKBDCREG_H_
35#define _DEV_KBD_ATKBDCREG_H_
36
37/* constants */
38
--- 157 unchanged lines hidden (view full) ---
196 KBDC_IVAR_FLAGS,
197};
198
199typedef caddr_t KBDC;
200
201/* function prototypes */
202
203atkbdc_softc_t *atkbdc_get_softc(int unit);
204int atkbdc_probe_unit(atkbdc_softc_t *sc, int unit, int port);
205int atkbdc_configure(void);
206
207KBDC kbdc_open(int port);
208int kbdc_lock(KBDC kbdc, int lock);
209int kbdc_data_ready(KBDC kbdc);
210
211int write_controller_command(KBDC kbdc,int c);
212int write_controller_data(KBDC kbdc,int c);
--- 34 unchanged lines hidden ---