diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 1996-06-27 21:36:11 +0000 |
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 1996-06-27 21:36:11 +0000 |
| commit | a9e9062ca170bf269c545e420541e363746ddab3 (patch) | |
| tree | dc904e9fa418dab61851617a133105ac290d81b6 /sys/dev/syscons | |
| parent | 342e4505590e136cf531a5c2fee48d0b53e9d4a3 (diff) | |
Notes
Diffstat (limited to 'sys/dev/syscons')
| -rw-r--r-- | sys/dev/syscons/syscons.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index 05e5d56be8dd..32b249070593 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: syscons.c,v 1.155 1996/06/25 08:54:45 sos Exp $ + * $Id: syscons.c,v 1.157 1996/06/26 13:04:52 sos Exp $ */ #include "sc.h" @@ -251,7 +251,7 @@ scprobe(struct isa_device *dev) /* flush any noise in the buffer */ while (inb(KB_STAT) & KB_BUF_FULL) { - DELAY(25); + DELAY(100); (void) inb(KB_DATA); } @@ -274,10 +274,10 @@ gotres: else { i = 10; /* At most 10 retries. */ gotack: - DELAY(25); - j = 1000; /* Wait at most 50 ms (supposedly). */ - while ((inb(KB_STAT) & KB_BUF_FULL) == 0 && --j > 0) DELAY(50); - DELAY(25); + DELAY(100); + j = 1000; /* Wait at most 1 s. */ + while ((inb(KB_STAT) & KB_BUF_FULL) == 0 && --j > 0) DELAY(1000); + DELAY(1000); val = inb(KB_DATA); if (val == KB_ACK && --i > 0) goto gotack; |
