Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun2/sun2 In fpu_probe, now be sure to return FPU_N...



details:   https://anonhg.NetBSD.org/src/rev/7105fe3aaca4
branches:  trunk
changeset: 508365:7105fe3aaca4
user:      fredette <fredette%NetBSD.org@localhost>
date:      Tue Apr 10 12:27:40 2001 +0000

description:
In fpu_probe, now be sure to return FPU_NONE.  Returning
FPU_UNKNOWN was causing confusion in cpu_switch.

diffstat:

 sys/arch/sun2/sun2/fpu.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 38c5cf6f52b8 -r 7105fe3aaca4 sys/arch/sun2/sun2/fpu.c
--- a/sys/arch/sun2/sun2/fpu.c  Tue Apr 10 12:24:05 2001 +0000
+++ b/sys/arch/sun2/sun2/fpu.c  Tue Apr 10 12:27:40 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpu.c,v 1.1 2001/04/06 15:05:56 fredette Exp $ */
+/*     $NetBSD: fpu.c,v 1.2 2001/04/10 12:27:40 fredette Exp $ */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -137,10 +137,11 @@
                return FPU_68881;
        if (b == 0x38)
                return FPU_68882;
-#endif
 
        /*
         * If it's not one of the above, we have no clue what it is.
         */
        return FPU_UNKNOWN;
+#endif
+       return FPU_NONE;
 }



Home | Main Index | Thread Index | Old Index