projects
/
seabios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rename PORT_KBD_* to PORT_PS2_*
[seabios.git]
/
src
/
system.c
diff --git
a/src/system.c
b/src/system.c
index 331e4521f6098c43e1c953661e21864fd1249857..be38c3d50edc9c01f2f7944adcfc366b66f2452c 100644
(file)
--- a/
src/system.c
+++ b/
src/system.c
@@
-91,9
+91,9
@@
static void
usleep(u32 count)
{
count = count / 15;
- u8 kbd = inb(PORT_
KBD
_CTRLB);
+ u8 kbd = inb(PORT_
PS2
_CTRLB);
while (count)
- if ((inb(PORT_
KBD
_CTRLB) ^ kbd) & KBD_REFRESH)
+ if ((inb(PORT_
PS2
_CTRLB) ^ kbd) & KBD_REFRESH)
count--;
}