Deleted Added
full compact
atkbdcreg.h (207354) atkbdcreg.h (216492)
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 *
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 * $FreeBSD: head/sys/dev/atkbdc/atkbdcreg.h 207354 2010-04-29 06:16:00Z sobomax $
30 * $FreeBSD: head/sys/dev/atkbdc/atkbdcreg.h 216492 2010-12-16 17:14:37Z jhb $
31 * from kbdio.h,v 1.8 1998/09/25 11:55:46 yokota Exp
32 */
33
34#ifndef _DEV_ATKBDC_ATKBDCREG_H_
35#define _DEV_ATKBDC_ATKBDCREG_H_
36
37#include "opt_kbd.h" /* Structures depend on the value if KBDIO_DEBUG */
38

--- 148 unchanged lines hidden (view full) ---

187#endif
188} kqueue;
189
190struct resource;
191
192typedef struct atkbdc_softc {
193 struct resource *port0; /* data port */
194 struct resource *port1; /* status port */
31 * from kbdio.h,v 1.8 1998/09/25 11:55:46 yokota Exp
32 */
33
34#ifndef _DEV_ATKBDC_ATKBDCREG_H_
35#define _DEV_ATKBDC_ATKBDCREG_H_
36
37#include "opt_kbd.h" /* Structures depend on the value if KBDIO_DEBUG */
38

--- 148 unchanged lines hidden (view full) ---

187#endif
188} kqueue;
189
190struct resource;
191
192typedef struct atkbdc_softc {
193 struct resource *port0; /* data port */
194 struct resource *port1; /* status port */
195 struct resource *irq;
195 bus_space_tag_t iot;
196 bus_space_handle_t ioh0;
197 bus_space_handle_t ioh1;
198 int command_byte; /* current command byte value */
199 int command_mask; /* command byte mask bits for kbd/aux devices */
200 int lock; /* FIXME: XXX not quite a semaphore... */
201 kqueue kbd; /* keyboard data queue */
202 kqueue aux; /* auxiliary data queue */

--- 63 unchanged lines hidden ---
196 bus_space_tag_t iot;
197 bus_space_handle_t ioh0;
198 bus_space_handle_t ioh1;
199 int command_byte; /* current command byte value */
200 int command_mask; /* command byte mask bits for kbd/aux devices */
201 int lock; /* FIXME: XXX not quite a semaphore... */
202 kqueue kbd; /* keyboard data queue */
203 kqueue aux; /* auxiliary data queue */

--- 63 unchanged lines hidden ---