pci: Dump vendor/devices ids in the printed device list
(cherry picked from commit eb35402d0a
)
This commit is contained in:
parent
6be19e8f43
commit
dbac41b624
|
@ -417,18 +417,16 @@ xf86PciProbe(void)
|
||||||
if (xf86IsPrimaryPci(info))
|
if (xf86IsPrimaryPci(info))
|
||||||
prim = "*";
|
prim = "*";
|
||||||
|
|
||||||
xf86Msg( X_PROBED, "PCI:%s(%u@%u:%u:%u) ", prim, info->domain,
|
xf86Msg(X_PROBED, "PCI:%s(%u:%u:%u:%u) %04x:%04x:%04x:%04x ", prim,
|
||||||
info->bus, info->dev, info->func );
|
info->domain, info->bus, info->dev, info->func,
|
||||||
|
info->vendor_id, info->device_id,
|
||||||
|
info->subvendor_id, info->subdevice_id);
|
||||||
|
|
||||||
if (vendorname)
|
if (vendorname)
|
||||||
xf86ErrorF("%s ", vendorname);
|
xf86ErrorF("%s ", vendorname);
|
||||||
else
|
|
||||||
xf86ErrorF("unknown vendor (0x%04x) ", info->vendor_id);
|
|
||||||
|
|
||||||
if (chipname)
|
if (chipname)
|
||||||
xf86ErrorF("%s ", chipname);
|
xf86ErrorF("%s ", chipname);
|
||||||
else
|
|
||||||
xf86ErrorF("unknown chipset (0x%04x) ", info->device_id);
|
|
||||||
|
|
||||||
xf86ErrorF("rev %d", info->revision);
|
xf86ErrorF("rev %d", info->revision);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user