summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/keyboard.h
blob: ed6c7d472e4902bf8d96ab9de52e5ea75427dbaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * CPU specific parts of the keyboard driver
 *
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 */
#ifndef __ASM_i386_KEYBOARD_H
#define __ASM_i386_KEYBOARD_H

#include <asm/io.h>

#define KEYBOARD_IRQ 1

#define KBD_REPORT_ERR

#define kbd_inb_p(port) inb_p(port)
#define kbd_inb(port) inb(port)
#define kbd_outb_p(data,port) outb_p(data,port)
#define kbd_outb(data,port) outb(data,port)

extern __inline__ void
keyboard_setup()
{
	request_region(0x60,16,"keyboard");
}

#endif /* __ASM_i386_KEYBOARD_H */