]> mj.ucw.cz Git - pciutils.git/blobdiff - ls-map.c
CXL: Capability vendor ID changed
[pciutils.git] / ls-map.c
index c812f503d63a30b211d9df7ed88851a5d244b551..c3ef54b7b1f59f60ac891a11157bc403f35becf0 100644 (file)
--- a/ls-map.c
+++ b/ls-map.c
@@ -38,7 +38,7 @@ map_bridge(struct bus_info *bi, struct device *d, int np, int ns, int nl)
   b->func = p->func;
   b->first = get_conf_byte(d, ns);
   b->last = get_conf_byte(d, nl);
-  printf("## %02x.%02x:%d is a bridge from %02x to %02x-%02x\n",
+  printf("## %02x:%02x.%d is a bridge from %02x to %02x-%02x\n",
         p->bus, p->dev, p->func, b->this, b->first, b->last);
   if (b->this != p->bus)
     printf("!!! Bridge points to invalid primary bus.\n");
@@ -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);