summaryrefslogtreecommitdiff
path: root/busybox.def.h
diff options
context:
space:
mode:
authorEric Andersen2000-06-12 23:11:16 +0000
committerEric Andersen2000-06-12 23:11:16 +0000
commit9f16d614083a96b521cbbca6d5c0b33da91991c4 (patch)
tree6ec4c6b71fc1728eb66011093f8ea3a2b8de5845 /busybox.def.h
parent44760d058cda8cdea96b02f2594797d2b43b01eb (diff)
downloadbusybox-9f16d614083a96b521cbbca6d5c0b33da91991c4.zip
busybox-9f16d614083a96b521cbbca6d5c0b33da91991c4.tar.gz
Added a slightly modified version of Ron Alder's insmod patch.
Very cool stuff. -Erik
Diffstat (limited to 'busybox.def.h')
-rw-r--r--busybox.def.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/busybox.def.h b/busybox.def.h
index 11a791e..62ea509 100644
--- a/busybox.def.h
+++ b/busybox.def.h
@@ -40,8 +40,7 @@
#define BB_HOSTNAME
#define BB_ID
#define BB_INIT
-// Don't bother turning BB_INSMOD on. It doesn't work yet.
-//#define BB_INSMOD
+#define BB_INSMOD
#define BB_KILL
#define BB_KILLALL
#define BB_KLOGD
@@ -219,6 +218,15 @@
//Turn on extra fbset options
//#define BB_FEATURE_FBSET_FANCY
//
+// You must enable one or both of these features
+// Support installing modules from pre 2.1 kernels
+//#define BB_FEATURE_INSMOD_OLD_KERNEL
+// Support installing modules from kernel versions after 2.1.18
+#define BB_FEATURE_INSMOD_NEW_KERNEL
+//
+// Support module version checking
+//#define BB_FEATURE_INSMOD_VERSION_CHECKING
+//
//
// End of Features List
//
@@ -271,3 +279,9 @@
#define BB_FEATURE_USE_TERMIOS
#endif
#endif
+//
+#if defined BB_INSMOD
+#ifndef BB_FEATURE_INSMOD_OLD_KERNEL
+#define BB_FEATURE_INSMOD_NEW_KERNEL
+#endif
+#endif