atkbdcreg.h (117478) | atkbdcreg.h (147271) |
---|---|
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 117478 2003-07-12 18:36:04Z mikeh $ | 30 * $FreeBSD: head/sys/dev/atkbdc/atkbdcreg.h 147271 2005-06-10 20:56:38Z marius $ |
31 * from kbdio.h,v 1.8 1998/09/25 11:55:46 yokota Exp 32 */ 33 | 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_ | 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 39/* constants */ 40 41/* I/O ports */ 42#define KBD_STATUS_PORT 4 /* status port, read */ 43#define KBD_COMMAND_PORT 4 /* controller command port, write */ --- 212 unchanged lines hidden (view full) --- 256int kbdc_get_device_mask(KBDC kbdc); 257void kbdc_set_device_mask(KBDC kbdc, int mask); 258 259int get_controller_command_byte(KBDC kbdc); 260int set_controller_command_byte(KBDC kbdc, int command, int flag); 261 262#endif /* _KERNEL */ 263 | 36 37#include "opt_kbd.h" /* Structures depend on the value if KBDIO_DEBUG */ 38 39/* constants */ 40 41/* I/O ports */ 42#define KBD_STATUS_PORT 4 /* status port, read */ 43#define KBD_COMMAND_PORT 4 /* controller command port, write */ --- 212 unchanged lines hidden (view full) --- 256int kbdc_get_device_mask(KBDC kbdc); 257void kbdc_set_device_mask(KBDC kbdc, int mask); 258 259int get_controller_command_byte(KBDC kbdc); 260int set_controller_command_byte(KBDC kbdc, int command, int flag); 261 262#endif /* _KERNEL */ 263 |
264#endif /* !_DEV_KBD_ATKBDCREG_H_ */ | 264#endif /* !_DEV_ATKBDC_ATKBDCREG_H_ */ |