diff options
author | mjacob <mjacob@cvs.openbsd.org> | 2001-04-14 22:18:04 +0000 |
---|---|---|
committer | mjacob <mjacob@cvs.openbsd.org> | 2001-04-14 22:18:04 +0000 |
commit | bf1c5a516d54565ad8aa6136d21818f47d14ebd3 (patch) | |
tree | 1de98ffe914bae5fae44b51e53d82b034aea2cff /sys/arch | |
parent | 1d1dc96b4f028b2644a140aeb646ecdd2111961f (diff) |
Always make sure that SQWE is enabled- the PROM may not have done this for you.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/alpha/alpha/mcclock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/alpha/alpha/mcclock.c b/sys/arch/alpha/alpha/mcclock.c index 6c4b457f586..01a90f48a87 100644 --- a/sys/arch/alpha/alpha/mcclock.c +++ b/sys/arch/alpha/alpha/mcclock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mcclock.c,v 1.3 1996/10/30 22:38:16 niklas Exp $ */ +/* $OpenBSD: mcclock.c,v 1.4 2001/04/14 22:18:03 mjacob Exp $ */ /* $NetBSD: mcclock.c,v 1.4 1996/10/13 02:59:41 christos Exp $ */ /* @@ -78,7 +78,7 @@ mcclock_init(dev) mc146818_write(sc, MC_REGA, MC_BASE_32_KHz | MC_RATE_1024_Hz); mc146818_write(sc, MC_REGB, - MC_REGB_PIE | MC_REGB_BINARY | MC_REGB_24HR); + MC_REGB_PIE | MC_REGB_SQWE | MC_REGB_BINARY | MC_REGB_24HR); } /* |