summaryrefslogtreecommitdiffstats
path: root/sys/gnu/i386
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-10-18 07:44:33 +0000
committerpeter <peter@FreeBSD.org>1998-10-18 07:44:33 +0000
commita7c8a5185468f38694067f37315128902eb468ac (patch)
tree334b945d2c247fe387be087f6ecfb78f9dc55210 /sys/gnu/i386
parenta49ba650812f28ba863e5eddcdffb49ffb35a85d (diff)
downloadFreeBSD-src-a7c8a5185468f38694067f37315128902eb468ac.zip
FreeBSD-src-a7c8a5185468f38694067f37315128902eb468ac.tar.gz
Initialize earlier (ie: before npx) in case it makes any difference.
Print a message when it attaches to pmath_emulate if bootverbose so that we can be sure it's online.
Diffstat (limited to 'sys/gnu/i386')
-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 5b6069b..5128865 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 */
OpenPOWER on IntegriCloud