From 982bc7176d04d9d3e2b40c4ddba24eab9f02dc4d Mon Sep 17 00:00:00 2001 From: Souf Oued Date: Sat, 5 Dec 2009 17:56:25 +0100 Subject: lspci: new applet. +573 bytes Signed-off-by: Souf Oued Signed-off-by: Denys Vlasenko --- include/applets.h | 1 + include/usage.h | 8 ++++++++ 2 files changed, 9 insertions(+) (limited to 'include') diff --git a/include/applets.h b/include/applets.h index d1a84eeaf..7d5d4406c 100644 --- a/include/applets.h +++ b/include/applets.h @@ -246,6 +246,7 @@ IF_LS(APPLET_NOEXEC(ls, ls, _BB_DIR_BIN, _BB_SUID_DROP, ls)) IF_LSATTR(APPLET(lsattr, _BB_DIR_BIN, _BB_SUID_DROP)) IF_LSMOD(APPLET(lsmod, _BB_DIR_SBIN, _BB_SUID_DROP)) IF_MODPROBE_SMALL(APPLET_ODDNAME(lsmod, modprobe, _BB_DIR_SBIN, _BB_SUID_DROP, modprobe)) +IF_LSPCI(APPLET(lspci, _BB_DIR_SBIN, _BB_SUID_DROP)) IF_UNLZMA(APPLET_ODDNAME(lzmacat, unlzma, _BB_DIR_USR_BIN, _BB_SUID_DROP, lzmacat)) IF_LZOP(APPLET(lzop, _BB_DIR_BIN, _BB_SUID_DROP)) IF_LZOP(APPLET_ODDNAME(lzopcat, lzop, _BB_DIR_USR_BIN, _BB_SUID_DROP, lzopcat)) diff --git a/include/usage.h b/include/usage.h index 1505ac306..6b2738407 100644 --- a/include/usage.h +++ b/include/usage.h @@ -2502,6 +2502,14 @@ #define lsmod_full_usage "\n\n" \ "List the currently loaded kernel modules" +#define lspci_trivial_usage \ + "[-mk]" +#define lspci_full_usage "\n\n" \ + "List all PCI devices" \ + "\n" \ + "\n -m Parseable output" \ + "\n -k Show driver" \ + #if ENABLE_FEATURE_MAKEDEVS_LEAF #define makedevs_trivial_usage \ "NAME TYPE MAJOR MINOR FIRST LAST [s]" -- cgit v1.2.3