summaryrefslogtreecommitdiff
path: root/ls-map.c
diff options
context:
space:
mode:
Diffstat (limited to 'ls-map.c')
-rw-r--r--ls-map.c1
1 files changed, 1 insertions, 0 deletions
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);