From 3fd6b4d2e2fda814047664ffc67448ac782a8089 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 9 Sep 2006 14:28:40 +0200 Subject: [PATCH] Added a `-vmm' mode. --- ChangeLog | 3 +++ lspci.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b18fd90..bc35fd5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-09-09 Martin Mares + * lspci.c (show_machine): Added a `-vmm' mode, which removes the misuse + of the `Device' tag for two different purposes. + * Makefile: Moved all system-dependent decisions to lib/configure, since config.mk is included in the top-level Makefile anyway. diff --git a/lspci.c b/lspci.c index a5eca91..514e717 100644 --- a/lspci.c +++ b/lspci.c @@ -1826,7 +1826,7 @@ show_machine(struct device *d) if (verbose) { - printf("Device:\t"); + printf((machine_readable >= 2) ? "Slot:\t" : "Device:\t"); show_slot_name(d); putchar('\n'); printf("Class:\t%s\n", -- 2.39.2