]> xenbits.xensource.com Git - seabios.git/commit
pci: Implement '%pP' printf handler for 'struct pci_device' pointers
authorKevin O'Connor <kevin@koconnor.net>
Wed, 3 Feb 2016 08:03:15 +0000 (03:03 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Wed, 3 Feb 2016 15:38:20 +0000 (10:38 -0500)
commit7b67300f7d9db7dcf855e201db2f0da8f318e40d
tree140ff3110ad5ac93e0e812b855a6fd55b7633262
parent01a30dc7e38859125f4120e4f10f26af4049daf7
pci: Implement '%pP' printf handler for 'struct pci_device' pointers

Handle '%pP' format descriptions as a pointer to a 'struct pci_device'
and display it in bus:device.function (%02x:%02x.%x) format.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
16 files changed:
src/fw/pciinit.c
src/hw/ahci.c
src/hw/esp-scsi.c
src/hw/lsi-scsi.c
src/hw/megasas.c
src/hw/pci.c
src/hw/pvscsi.c
src/hw/usb-ehci.c
src/hw/usb-ohci.c
src/hw/usb-uhci.c
src/hw/usb-xhci.c
src/hw/virtio-blk.c
src/hw/virtio-pci.c
src/hw/virtio-scsi.c
src/optionroms.c
src/output.c