]> mj.ucw.cz Git - pciutils.git/blobdiff - ls-map.c
Added a test case for the L1 PM capability
[pciutils.git] / ls-map.c
index c812f503d63a30b211d9df7ed88851a5d244b551..3044d6fdb3887a25d6c0a5f20a9614c532ac946c 100644 (file)
--- 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);