From: Martin Mares Date: Sat, 9 Sep 2006 12:28:40 +0000 (+0200) Subject: Added a `-vmm' mode. X-Git-Tag: v3.0.0~26 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=3fd6b4d2e2fda814047664ffc67448ac782a8089;p=pciutils.git Added a `-vmm' mode. --- 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",