diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-09-06 23:00:04 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-09-06 23:00:04 +0000 |
commit | 0adb528a6f1b3625b4ac27b6575de0dbcef5f6f3 (patch) | |
tree | d3d6bc7b19f1e2659ff946ae249bb96cd5165aea /sys/arch/i386/isa/pcvt/pcvt_hdr.h | |
parent | 4215a296701c19482a05b676f9b821a745d1fbbb (diff) |
Better keyboard timing code mostly from FreeBSD
Diffstat (limited to 'sys/arch/i386/isa/pcvt/pcvt_hdr.h')
-rw-r--r-- | sys/arch/i386/isa/pcvt/pcvt_hdr.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/arch/i386/isa/pcvt/pcvt_hdr.h b/sys/arch/i386/isa/pcvt/pcvt_hdr.h index 3fabcc4428a..c59a577030b 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.20 1998/06/30 20:51:11 millert Exp $ */ +/* $OpenBSD: pcvt_hdr.h,v 1.21 1998/09/06 23:00:03 niklas Exp $ */ /* * Copyright (c) 1992, 1995 Hellmuth Michaelis and Joerg Wunsch. @@ -1189,18 +1189,13 @@ 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 */ /* use system supplied delay function for */ /* producing delays for accesssing the */ /* keyboard controller */ -#define PCVT_KBD_DELAY() delay(11) +#define PCVT_KBD_DELAY() delay(7) #endif /* PCVT_PORTIO_DELAY */ /*---------------------------------- E O F ----------------------------------*/ |