aboutsummaryrefslogtreecommitdiff
path: root/src/parisc/lasips2.h
blob: efdd66b9394ff31c72456b52f64999a61f781f21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef PARISC_LASIPS2_H
#define PARISC_LASIPS2_H

void ps2port_setup(void);

int lasips2_kbd_in(char *c, int max);

#define LASIPS2_KBD_RESET   ((void *)(LASI_PS2KBD_HPA+0x00))
#define LASIPS2_KBD_DATA    ((void *)(LASI_PS2KBD_HPA+0x04))
#define LASIPS2_KBD_CONTROL ((void *)(LASI_PS2KBD_HPA+0x08))
#define LASIPS2_KBD_STATUS  ((void *)(LASI_PS2KBD_HPA+0x0c))

#define LASIPS2_KBD_CONTROL_EN 0x01
#define LASIPS2_KBD_STATUS_RBNE 0x01
#define LASIPS2_KBD_STATUS_TBNE 0x02

#endif