Module Name: src Committed By: tsutsui Date: Mon Apr 29 14:58:32 UTC 2024
Modified Files: src/sys/arch/hp300/dev: topcatreg.h Log Message: Increase DELAY() for waitbusy macroes as pre-wscons and 4.4BSD did. It looks necessary for sane palette ops at least on HP98543 topcat on 68030 HP 9000/360. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/hp300/dev/topcatreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/hp300/dev/topcatreg.h diff -u src/sys/arch/hp300/dev/topcatreg.h:1.4 src/sys/arch/hp300/dev/topcatreg.h:1.5 --- src/sys/arch/hp300/dev/topcatreg.h:1.4 Fri Feb 2 22:19:13 2024 +++ src/sys/arch/hp300/dev/topcatreg.h Mon Apr 29 14:58:32 2024 @@ -1,5 +1,5 @@ /* $OpenBSD: topcatreg.h,v 1.2 2005/01/24 21:36:39 miod Exp $ */ -/* $NetBSD: topcatreg.h,v 1.4 2024/02/02 22:19:13 andvar Exp $ */ +/* $NetBSD: topcatreg.h,v 1.5 2024/04/29 14:58:32 tsutsui Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -42,13 +42,13 @@ #define tccm_waitbusy(regaddr) \ do { \ while (((volatile struct tcboxfb *)(regaddr))->cmap_busy & 0x04) \ - DELAY(10); \ + DELAY(100); \ } while (/* CONSTCOND */0) #define tc_waitbusy(regaddr,planes) \ do { \ while (((volatile struct tcboxfb *)(regaddr))->busy & planes) \ - DELAY(10); \ + DELAY(100); \ } while (/* CONSTCOND */0) struct tcboxfb {