[git commit master 1/1] modinfo: show firmware and depends fields

Denys Vlasenko vda.linux at googlemail.com
Tue Feb 15 00:43:04 UTC 2011


commit: http://git.busybox.net/busybox/commit/?id=12f44ea18344f66e03e61e621a6c0fd2d36f7595
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Lauri Kasanen <curaga at operamail.com>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 modutils/modinfo.c |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/modutils/modinfo.c b/modutils/modinfo.c
index 731fc05..cc50182 100644
--- a/modutils/modinfo.c
+++ b/modutils/modinfo.c
@@ -23,9 +23,9 @@
 
 
 enum {
-	OPT_TAGS = (1 << 6) - 1,
-	OPT_F = (1 << 6), /* field name */
-	OPT_0 = (1 << 7),  /* \0 as separator */
+	OPT_TAGS = (1 << 8) - 1,
+	OPT_F = (1 << 8), /* field name */
+	OPT_0 = (1 << 9),  /* \0 as separator */
 };
 
 struct modinfo_env {
@@ -53,6 +53,8 @@ static void modinfo(const char *path, const char *version,
 		"license",
 		"vermagic",
 		"parm",
+		"firmware",
+		"depends",
 	};
 	size_t len;
 	int j, length;
-- 
1.7.3.4



More information about the busybox-cvs mailing list