diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-07-16 10:58:37 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-07-16 10:58:37 +0000 |
commit | 96e3273218d3ba0bfb9cc0cd2d7133fde2d2b8a3 (patch) | |
tree | 168dba9ee0debde2be26a19148e7c997725d4199 /sys/arch/i386/isa/pcvt | |
parent | 8b2378a16bd14494c347a6adb2199965d6aec807 (diff) |
pcvt/pccons too fast for some kbds; netbsd pr#2631; mike.long@analog.com
Diffstat (limited to 'sys/arch/i386/isa/pcvt')
-rw-r--r-- | sys/arch/i386/isa/pcvt/pcvt_hdr.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/arch/i386/isa/pcvt/pcvt_hdr.h b/sys/arch/i386/isa/pcvt/pcvt_hdr.h index c045b465a6b..960aa82c7d9 100644 --- a/sys/arch/i386/isa/pcvt/pcvt_hdr.h +++ b/sys/arch/i386/isa/pcvt/pcvt_hdr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pcvt_hdr.h,v 1.12 1996/06/16 13:54:01 deraadt Exp $ */ +/* $OpenBSD: pcvt_hdr.h,v 1.13 1996/07/16 10:58:36 deraadt Exp $ */ /* * Copyright (c) 1992, 1995 Hellmuth Michaelis and Joerg Wunsch. @@ -1398,6 +1398,11 @@ static __inline void vt_selattr(struct video_state *svsp) { volatile u_char x = inb(0x84); (void) &x;} \ { volatile u_char x = inb(0x84); (void) &x;} \ { volatile u_char x = inb(0x84); (void) &x;} \ + { volatile u_char x = inb(0x84); (void) &x;} \ + { volatile u_char x = inb(0x84); (void) &x;} \ + { volatile u_char x = inb(0x84); (void) &x;} \ + { volatile u_char x = inb(0x84); (void) &x;} \ + { volatile u_char x = inb(0x84); (void) &x;} \ { volatile u_char x = inb(0x84); (void) &x;} #else /* PCVT_PORTIO_DELAY */ @@ -1405,9 +1410,9 @@ static __inline void vt_selattr(struct video_state *svsp) /* producing delays for accesssing the */ /* keyboard controller */ #if PCVT_NETBSD > 9 -#define PCVT_KBD_DELAY() delay(7) +#define PCVT_KBD_DELAY() delay(11) #elif PCVT_FREEBSD || (PCVT_NETBSD <= 9) -#define PCVT_KBD_DELAY() DELAY(7) +#define PCVT_KBD_DELAY() DELAY(11) #endif #endif /* PCVT_PORTIO_DELAY */ |