From 265be6d839c83cd0377aab7fa1608e85cce90a80 Mon Sep 17 00:00:00 2001 From: cgd Date: Wed, 12 Mar 1997 19:13:20 +0000 Subject: [PATCH] enabled SQWE as well as PIE in reg B. --- sys/arch/alpha/alpha/mcclock.c | 4 ++-- sys/dev/dec/mcclock.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arch/alpha/alpha/mcclock.c b/sys/arch/alpha/alpha/mcclock.c index b446c0c8f75c..137d6c3ae74f 100644 --- a/sys/arch/alpha/alpha/mcclock.c +++ b/sys/arch/alpha/alpha/mcclock.c @@ -1,4 +1,4 @@ -/* $NetBSD: mcclock.c,v 1.4 1996/10/13 02:59:41 christos Exp $ */ +/* $NetBSD: mcclock.c,v 1.5 1997/03/12 19:13:20 cgd Exp $ */ /* * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. @@ -77,7 +77,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); } /* diff --git a/sys/dev/dec/mcclock.c b/sys/dev/dec/mcclock.c index b446c0c8f75c..137d6c3ae74f 100644 --- a/sys/dev/dec/mcclock.c +++ b/sys/dev/dec/mcclock.c @@ -1,4 +1,4 @@ -/* $NetBSD: mcclock.c,v 1.4 1996/10/13 02:59:41 christos Exp $ */ +/* $NetBSD: mcclock.c,v 1.5 1997/03/12 19:13:20 cgd Exp $ */ /* * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. @@ -77,7 +77,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); } /*