busybox/modutils
Tanguy Pruvot 772f17a843 modinfo: match more standard module fields and fix version field
Previously, -F version could match the srcversion= string.

before :
  ~ # modinfo -F version tiwlan_drv
  version:        6.1.2012.05.29
  version:        533BB7E5866E52F63B9ACCB
  version:        0x%x, oui=0x%x, 0x%x, 0x%x
  version:        0x%x

  ~ # modinfo tiwlan_drv
  filename:       tiwlan_drv.ko
  author:         Texas Instruments Inc - Retouched by CyanogenDefy
  license:        GPL
  vermagic:       2.6.32.9 preempt mod_unload ARMv7
  parm:           g_sdio_debug_level:debug level
  depends:

now :
  ~ # modinfo -F version tiwlan_drv
  version:        6.1.2012.05.29

  ~ # modinfo tiwlan_drv
  filename:       tiwlan_drv.ko
  license:        GPL
  author:         Texas Instruments Inc - Retouched by CyanogenDefy
  version:        6.1.2012.05.29
  srcversion:     533BB7E5866E52F63B9ACCB
  depends:
  uts_release:    2.6.32.9-g306944c
  vermagic:       2.6.32.9 preempt mod_unload ARMv7
  parm:           g_sdio_debug_level:debug level

This patch also add support for the old "-n" and some other helpers

Change-Id: Icb4e9ca513cbce46b075a6f038799a7a19fb7e22
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2012-06-12 16:26:03 +02:00
..
Config.src Replace "depends on PLATFORM_LINUX" with "select PLATFORM_LINUX" 2011-02-26 22:24:08 +01:00
depmod_process.sh
depmod.c depmod: supply help text 2012-02-19 16:33:37 +01:00
insmod.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
Kbuild.src
lsmod.c mass removal of underscores from _BB_DIR_foo and _BB_SUID_foo 2011-01-18 13:58:01 +01:00
modinfo.c modinfo: match more standard module fields and fix version field 2012-06-12 16:26:03 +02:00
modprobe-small.c modprobe-small: add comment about aliased commands' help text 2012-02-19 16:57:08 +01:00
modprobe.c modprobe: accept -b even if blacklist functionality is disabled 2012-01-31 14:55:15 +01:00
modutils-24.c stop declariong our own dirname prototype 2011-09-10 13:48:34 +02:00
modutils.c modprobe/insmod: fix parameter quoting 2011-02-02 00:01:07 +01:00
modutils.h modprobe/insmod: fix parameter quoting 2011-02-02 00:01:07 +01:00
rmmod.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00