From 864efa8c4ea34815e18c020adf7aeb91a3ae8b31 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 4 Jul 2009 16:05:56 +0200 Subject: lspci: Warn against using -M with the sysfs back-end --- ls-map.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ls-map.c') diff --git a/ls-map.c b/ls-map.c index c812f50..3044d6f 100644 --- a/ls-map.c +++ b/ls-map.c @@ -164,6 +164,7 @@ void map_the_bus(void) { if (pacc->method == PCI_ACCESS_PROC_BUS_PCI || + pacc->method == PCI_ACCESS_SYS_BUS_PCI || pacc->method == PCI_ACCESS_DUMP) printf("WARNING: Bus mapping can be reliable only with direct hardware access enabled.\n\n"); bus_info = xmalloc(sizeof(struct bus_info) * 256); -- cgit v1.2.1