From 5f5b1a7b95b6141ecaa58748bbd8516a57e4200b Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 26 Dec 2003 21:43:16 +0000 Subject: [PATCH] More -D fixes. git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-13 --- ChangeLog | 6 ++++-- setpci.man | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7192ee0..23f3b25 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,8 +2,10 @@ * setpci.c (main): Better error messages. - * setpci.c (ex_op): The demo mode was never documented to disable reads, - only writes, so conform with the definition. + * setpci.c (ex_op): The demo mode should disable only writing, not reading. + + * setpci.man: The documentation was inconsistent on what should -D do. + Document the new behaviour. * pciutils.h, common.c, setpci.c: Introduced a NONRET macro encapsulating the GCC specific __attribute__((noreturn)) and killed the hack with diff --git a/setpci.man b/setpci.man index 2825532..486dc77 100644 --- a/setpci.man +++ b/setpci.man @@ -31,7 +31,7 @@ where it's uncertain whether the device in question is present in the machine or not. .TP .B -D -`Demo mode' -- simulate configuration space accesses instead of really doing them. +`Demo mode' -- don't write anything to the configuration registers. It's useful to try .B setpci -vD to see what your complex sequence of -- 2.39.2