summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1998-10-18 07:44:33 +0000
committerPeter Wemm <peter@FreeBSD.org>1998-10-18 07:44:33 +0000
commitf62b74a04f47cb010cf24bf865db7165f157cdcc (patch)
tree74f97ef33640962f47546077130ba1e0cd504727
parent9131566cff6371bb72bbe559217639af96c9c910 (diff)
Notes
-rw-r--r--sys/gnu/i386/fpemul/fpu_entry.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/gnu/i386/fpemul/fpu_entry.c b/sys/gnu/i386/fpemul/fpu_entry.c
index 5b6069bb002c..51288653b806 100644
--- a/sys/gnu/i386/fpemul/fpu_entry.c
+++ b/sys/gnu/i386/fpemul/fpu_entry.c
@@ -55,7 +55,7 @@
*
* W. Metzenthen June 1994.
*
- * $Id: fpu_entry.c,v 1.15 1998/10/16 03:54:59 peter Exp $
+ * $Id: fpu_entry.c,v 1.16 1998/10/18 04:36:58 peter Exp $
*
*/
@@ -523,8 +523,10 @@ gnufpu_modevent(module_t mod, modeventtype_t type, void *unused)
if (pmath_emulate) {
printf("Another Math emulator already present\n");
return EACCES;
- } else
- pmath_emulate = math_emulate;
+ }
+ pmath_emulate = math_emulate;
+ if (bootverbose)
+ printf("GPL Math emulator present\n");
break;
case MOD_UNLOAD:
if (pmath_emulate != math_emulate) {
@@ -532,6 +534,8 @@ gnufpu_modevent(module_t mod, modeventtype_t type, void *unused)
return EACCES;
}
pmath_emulate = 0;
+ if (bootverbose)
+ printf("GPL Math emulator unloaded\n");
break;
default:
break;
@@ -544,6 +548,6 @@ moduledata_t gnufpumod = {
gnufpu_modevent,
0
};
-DECLARE_MODULE(gnufpu, gnufpumod, SI_SUB_PSEUDO, SI_ORDER_ANY);
+DECLARE_MODULE(gnufpu, gnufpumod, SI_SUB_DRIVERS, SI_ORDER_ANY);
#endif /* LKM */