Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun3 Remove some of broken cf_unit usage.



details:   https://anonhg.NetBSD.org/src/rev/2ccd2f99bd46
branches:  trunk
changeset: 503224:2ccd2f99bd46
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Feb 03 12:40:58 2001 +0000

description:
Remove some of broken cf_unit usage.

diffstat:

 sys/arch/sun3/sun3/clock.c  |  4 ++--
 sys/arch/sun3/sun3x/clock.c |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r c87c3eb68f49 -r 2ccd2f99bd46 sys/arch/sun3/sun3/clock.c
--- a/sys/arch/sun3/sun3/clock.c        Sat Feb 03 12:38:47 2001 +0000
+++ b/sys/arch/sun3/sun3/clock.c        Sat Feb 03 12:40:58 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clock.c,v 1.44 2000/01/19 02:52:21 msaitoh Exp $       */
+/*     $NetBSD: clock.c,v 1.45 2001/02/03 12:40:58 tsutsui Exp $       */
 
 /*
  * Copyright (c) 1994 Gordon W. Ross
@@ -99,7 +99,7 @@
        struct confargs *ca = args;
 
        /* This driver only supports one unit. */
-       if (cf->cf_unit != 0)
+       if (intersil_va)
                return (0);
 
        /* Make sure there is something there... */
diff -r c87c3eb68f49 -r 2ccd2f99bd46 sys/arch/sun3/sun3x/clock.c
--- a/sys/arch/sun3/sun3x/clock.c       Sat Feb 03 12:38:47 2001 +0000
+++ b/sys/arch/sun3/sun3x/clock.c       Sat Feb 03 12:40:58 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clock.c,v 1.17 2000/01/19 02:52:21 msaitoh Exp $       */
+/*     $NetBSD: clock.c,v 1.18 2001/02/03 12:40:59 tsutsui Exp $       */
 
 /*
  * Copyright (c) 1994 Gordon W. Ross
@@ -133,7 +133,7 @@
        struct confargs *ca = args;
 
        /* This driver only supports one unit. */
-       if (cf->cf_unit != 0)
+       if (intersil_va)
                return (0);
 
        /*
@@ -221,7 +221,7 @@
        struct confargs *ca = args;
 
        /* This driver only supports one unit. */
-       if (cf->cf_unit != 0)
+       if (mostek_clk_va)
                return (0);
 
        /* If intersil was found, use that. */



Home | Main Index | Thread Index | Old Index