i8042.h (cb5473205206c7f14cbb1e747f28ec75b48826e2) i8042.h (ef94f7fa64190876c08b68eb1b067c5e6d3085f5)
1/*
2 * (C) Copyright 2002 ELTEC Elektronik AG
3 * Frank Gottschling <fgottschling@eltec.de>
4 *
5 * See file CREDITS for list of people who contributed to this
6 * project.
7 *
8 * This program is free software; you can redistribute it and/or

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

34#endif
35
36/* defines */
37
38#define I8042_DATA_REG (CONFIG_SYS_ISA_IO + 0x0060) /* keyboard i/o buffer */
39#define I8042_STATUS_REG (CONFIG_SYS_ISA_IO + 0x0064) /* keyboard status read */
40#define I8042_COMMAND_REG (CONFIG_SYS_ISA_IO + 0x0064) /* keyboard ctrl write */
41
1/*
2 * (C) Copyright 2002 ELTEC Elektronik AG
3 * Frank Gottschling <fgottschling@eltec.de>
4 *
5 * See file CREDITS for list of people who contributed to this
6 * project.
7 *
8 * This program is free software; you can redistribute it and/or

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

34#endif
35
36/* defines */
37
38#define I8042_DATA_REG (CONFIG_SYS_ISA_IO + 0x0060) /* keyboard i/o buffer */
39#define I8042_STATUS_REG (CONFIG_SYS_ISA_IO + 0x0064) /* keyboard status read */
40#define I8042_COMMAND_REG (CONFIG_SYS_ISA_IO + 0x0064) /* keyboard ctrl write */
41
42enum {
43 /* Output register (I8042_DATA_REG) has data for system */
44 I8042_STATUS_OUT_DATA = 1 << 0,
45 I8042_STATUS_IN_DATA = 1 << 1,
46};
47
42#define KBD_US 0 /* default US layout */
43#define KBD_GER 1 /* german layout */
44
45#define KBD_TIMEOUT 1000 /* 1 sec */
46#define KBD_RESET_TRIES 3
47
48#define AS 0 /* normal character index */
49#define SH 1 /* shift index */

--- 27 unchanged lines hidden ---
48#define KBD_US 0 /* default US layout */
49#define KBD_GER 1 /* german layout */
50
51#define KBD_TIMEOUT 1000 /* 1 sec */
52#define KBD_RESET_TRIES 3
53
54#define AS 0 /* normal character index */
55#define SH 1 /* shift index */

--- 27 unchanged lines hidden ---