CVSROOT: /cvs Module name: src Changes by: j...@cvs.openbsd.org 2009/08/27 10:45:20
Modified files: sys/dev/ic : pckbc.c Log message: Bring in NetBSD's rev 1.45 by Matthias Drochner 'Reduce polling of the keyboard controller status by a factor of 1000. While on real hardware hardware a poll cycle takes time in the microsecond order of magnitude, a "legacy-free" system which emulates the KBC in BIOS code takes milliseconds -- I'm seeing a multi-minute delay in booting where the KBC is probed. So poll less and use delay() to compensate so that the total wait time stays about the same.' Noticeably helps some machines that do SMM based pckbc. Tested by miod on alpha glass console. ok miod@