diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-06-02 16:44:11 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-06-02 16:44:11 +0000 |
commit | d306ccbf67081606c0b4572cb2cfc73ca7227bff (patch) | |
tree | 5a983197981ffef1eada364273f6b56887ef79ca /sys/arch/powerpc | |
parent | 30dcb733964c483b0c90a75525de528698110046 (diff) |
On Cuda systems (imac Rev C at least), it seems that the adb data
is not ready when the flag is set. This seems to be a bug in the adb
handling. This is a workaround, not a correct fix.
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r-- | sys/arch/powerpc/mac/adb_direct.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arch/powerpc/mac/adb_direct.c b/sys/arch/powerpc/mac/adb_direct.c index edf3d7909c8..20fdd9df9dd 100644 --- a/sys/arch/powerpc/mac/adb_direct.c +++ b/sys/arch/powerpc/mac/adb_direct.c @@ -1941,6 +1941,7 @@ adb_read_date_time(unsigned long *time) while (0 == flag) /* wait for result */ ; + delay(20); /* completion occurs too soon? */ memcpy(time, output + 1, 4); retcode = 0; break; |