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");
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);