Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/util-linux/lspci.c
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/util-linux/lspci.c
r2725 r3232 7 7 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 8 8 */ 9 10 //usage:#define lspci_trivial_usage 11 //usage: "[-mk]" 12 //usage:#define lspci_full_usage "\n\n" 13 //usage: "List all PCI devices" 14 //usage: "\n" 15 //usage: "\n -m Parsable output" 16 //usage: "\n -k Show driver" 17 9 18 #include "libbb.h" 10 19 … … 66 75 if (option_mask32 & OPT_m) { 67 76 printf("%s \"Class %04x\" \"%04x\" \"%04x\" \"%04x\" \"%04x\"", 68 69 77 pci_slot_name, pci_class, pci_vid, pci_did, 78 pci_subsys_vid, pci_subsys_did); 70 79 } else { 71 80 printf("%s Class %04x: %04x:%04x", 72 81 pci_slot_name, pci_class, pci_vid, pci_did); 73 82 } 74 83
Note:
See TracChangeset
for help on using the changeset viewer.