From 89caa7b8f22bbd2e4ce88bc02d9db7e562a0a3f3 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 11 Nov 2008 10:13:32 +0100 Subject: [PATCH] setpci: Do not request read-write access when in demo mode. --- setpci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setpci.c b/setpci.c index 17d98a8..a0daddb 100644 --- a/setpci.c +++ b/setpci.c @@ -187,6 +187,8 @@ execute(struct op *op) static void scan_ops(struct op *op) { + if (demo_mode) + return; while (op) { if (op->num_values) -- 2.39.2