modinfo: show firmware and depends fields

Signed-off-by: Lauri Kasanen <curaga@operamail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Lauri Kasanen 2011-02-14 19:50:30 +02:00 committed by Denys Vlasenko
parent 2384a357f4
commit 12f44ea183

View File

@ -23,9 +23,9 @@
enum { enum {
OPT_TAGS = (1 << 6) - 1, OPT_TAGS = (1 << 8) - 1,
OPT_F = (1 << 6), /* field name */ OPT_F = (1 << 8), /* field name */
OPT_0 = (1 << 7), /* \0 as separator */ OPT_0 = (1 << 9), /* \0 as separator */
}; };
struct modinfo_env { struct modinfo_env {
@ -53,6 +53,8 @@ static void modinfo(const char *path, const char *version,
"license", "license",
"vermagic", "vermagic",
"parm", "parm",
"firmware",
"depends",
}; };
size_t len; size_t len;
int j, length; int j, length;