1/*-
2 * Copyright (c) 1999 Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
--- 9 unchanged lines hidden (view full) ---
18 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/dev/atkbdc/atkbd.c 114216 2003-04-29 13:36:06Z kan $
27 */
28
29#include "opt_kbd.h"
30#include "opt_atkbd.h"
31
32#include <sys/param.h>
33#include <sys/systm.h>
34#include <sys/kernel.h>
--- 165 unchanged lines hidden (view full) ---
200static kbd_check_char_t atkbd_check_char;
201static kbd_ioctl_t atkbd_ioctl;
202static kbd_lock_t atkbd_lock;
203static kbd_clear_state_t atkbd_clear_state;
204static kbd_get_state_t atkbd_get_state;
205static kbd_set_state_t atkbd_set_state;
206static kbd_poll_mode_t atkbd_poll;
207
208keyboard_switch_t atkbdsw = {
209 atkbd_probe,
210 atkbd_init,
211 atkbd_term,
212 atkbd_intr,
213 atkbd_test_if,
214 atkbd_enable,
215 atkbd_disable,
216 atkbd_read,
--- 1192 unchanged lines hidden ---
2 * Copyright (c) 1999 Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
--- 9 unchanged lines hidden (view full) ---
18 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/dev/atkbdc/atkbd.c 114216 2003-04-29 13:36:06Z kan $
27 */
28
29#include "opt_kbd.h"
30#include "opt_atkbd.h"
31
32#include <sys/param.h>
33#include <sys/systm.h>
34#include <sys/kernel.h>
--- 165 unchanged lines hidden (view full) ---
200static kbd_check_char_t atkbd_check_char;
201static kbd_ioctl_t atkbd_ioctl;
202static kbd_lock_t atkbd_lock;
203static kbd_clear_state_t atkbd_clear_state;
204static kbd_get_state_t atkbd_get_state;
205static kbd_set_state_t atkbd_set_state;
206static kbd_poll_mode_t atkbd_poll;
207
208keyboard_switch_t atkbdsw = {
209 atkbd_probe,
210 atkbd_init,
211 atkbd_term,
212 atkbd_intr,
213 atkbd_test_if,
214 atkbd_enable,
215 atkbd_disable,
216 atkbd_read,
--- 1192 unchanged lines hidden ---