diff options
author | Lauri Kasanen <curaga@operamail.com> | 2011-02-14 19:50:30 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-15 01:43:04 +0100 |
commit | 12f44ea18344f66e03e61e621a6c0fd2d36f7595 (patch) | |
tree | b6ae084eb21dda38de76eb282f761b2de58be415 | |
parent | 2384a357f41a92421e1e68fdd3a1afda7922a8ea (diff) | |
download | busybox-w32-12f44ea18344f66e03e61e621a6c0fd2d36f7595.tar.gz busybox-w32-12f44ea18344f66e03e61e621a6c0fd2d36f7595.tar.bz2 busybox-w32-12f44ea18344f66e03e61e621a6c0fd2d36f7595.zip |
modinfo: show firmware and depends fields
Signed-off-by: Lauri Kasanen <curaga@operamail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | modutils/modinfo.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/modutils/modinfo.c b/modutils/modinfo.c index 731fc0553..cc501825c 100644 --- a/modutils/modinfo.c +++ b/modutils/modinfo.c | |||
@@ -23,9 +23,9 @@ | |||
23 | 23 | ||
24 | 24 | ||
25 | enum { | 25 | enum { |
26 | OPT_TAGS = (1 << 6) - 1, | 26 | OPT_TAGS = (1 << 8) - 1, |
27 | OPT_F = (1 << 6), /* field name */ | 27 | OPT_F = (1 << 8), /* field name */ |
28 | OPT_0 = (1 << 7), /* \0 as separator */ | 28 | OPT_0 = (1 << 9), /* \0 as separator */ |
29 | }; | 29 | }; |
30 | 30 | ||
31 | struct modinfo_env { | 31 | struct modinfo_env { |
@@ -53,6 +53,8 @@ static void modinfo(const char *path, const char *version, | |||
53 | "license", | 53 | "license", |
54 | "vermagic", | 54 | "vermagic", |
55 | "parm", | 55 | "parm", |
56 | "firmware", | ||
57 | "depends", | ||
56 | }; | 58 | }; |
57 | size_t len; | 59 | size_t len; |
58 | int j, length; | 60 | int j, length; |