Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amiga/dev Fix comment. No code change.



details:   https://anonhg.NetBSD.org/src/rev/5b4fb4d254f5
branches:  trunk
changeset: 480192:5b4fb4d254f5
user:      is <is%NetBSD.org@localhost>
date:      Thu Jan 06 10:53:34 2000 +0000

description:
Fix comment. No code change.

diffstat:

 sys/arch/amiga/dev/a34kbbc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8c96a9bee74b -r 5b4fb4d254f5 sys/arch/amiga/dev/a34kbbc.c
--- a/sys/arch/amiga/dev/a34kbbc.c      Thu Jan 06 07:58:04 2000 +0000
+++ b/sys/arch/amiga/dev/a34kbbc.c      Thu Jan 06 10:53:34 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: a34kbbc.c,v 1.6 2000/01/03 21:52:14 is Exp $   */
+/*     $NetBSD: a34kbbc.c,v 1.7 2000/01/06 10:53:34 is Exp $   */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -167,7 +167,7 @@
 
        clock_secs_to_ymdhms(secs, &dt);
 
-       rt->control1 = A3CONTROL1_HOLD_CLOCK;
+       rt->control1 = A3CONTROL1_HOLD_CLOCK;           /* implies mode 0 */
        rt->second1 = dt.dt_sec / 10;
        rt->second2 = dt.dt_sec % 10;
        rt->minute1 = dt.dt_min / 10;
@@ -183,7 +183,7 @@
        rt->year2   = dt.dt_year % 10;
        rt->control1 = A3CONTROL1_HOLD_CLOCK | 1;       /* mode 1 registers */
        rt->leapyear = dt.dt_year;              /* XXX implicit % 4 */
-       rt->control1 = A3CONTROL1_FREE_CLOCK;           /* implies mode 0 */
+       rt->control1 = A3CONTROL1_FREE_CLOCK;           /* implies mode 1 */
 
        return (1);
 }



Home | Main Index | Thread Index | Old Index