ioat: print PCI addresses in hex for consistency
Change-Id: I0cc81e0b44f75268b1171c4ab5a23f97d9f8c8e2 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
a9de0d5f69
commit
b4572d452b
@ -217,8 +217,9 @@ unregister_workers(void)
|
||||
static bool
|
||||
probe_cb(void *cb_ctx, struct spdk_pci_device *pci_dev)
|
||||
{
|
||||
printf(" Found matching device at %d:%d:%d "
|
||||
printf(" Found matching device at %04x:%02x:%02x.%x "
|
||||
"vendor:0x%04x device:0x%04x\n",
|
||||
spdk_pci_device_get_domain(pci_dev),
|
||||
spdk_pci_device_get_bus(pci_dev), spdk_pci_device_get_dev(pci_dev),
|
||||
spdk_pci_device_get_func(pci_dev),
|
||||
spdk_pci_device_get_vendor_id(pci_dev), spdk_pci_device_get_device_id(pci_dev));
|
||||
|
@ -201,8 +201,9 @@ ioat_done(void *cb_arg)
|
||||
static bool
|
||||
probe_cb(void *cb_ctx, struct spdk_pci_device *pci_dev)
|
||||
{
|
||||
printf(" Found matching device at %d:%d:%d "
|
||||
printf(" Found matching device at %04x:%02x:%02x.%x "
|
||||
"vendor:0x%04x device:0x%04x\n",
|
||||
spdk_pci_device_get_domain(pci_dev),
|
||||
spdk_pci_device_get_bus(pci_dev), spdk_pci_device_get_dev(pci_dev),
|
||||
spdk_pci_device_get_func(pci_dev),
|
||||
spdk_pci_device_get_vendor_id(pci_dev), spdk_pci_device_get_device_id(pci_dev));
|
||||
|
@ -237,7 +237,8 @@ probe_cb(void *cb_ctx, struct spdk_pci_device *pci_dev)
|
||||
struct ioat_probe_ctx *ctx = cb_ctx;
|
||||
struct spdk_pci_addr pci_addr = spdk_pci_device_get_addr(pci_dev);
|
||||
|
||||
SPDK_NOTICELOG(" Found matching device at %d:%d:%d vendor:0x%04x device:0x%04x\n",
|
||||
SPDK_NOTICELOG(" Found matching device at %04x:%02x:%02x.%x vendor:0x%04x device:0x%04x\n",
|
||||
pci_addr.domain,
|
||||
pci_addr.bus,
|
||||
pci_addr.dev,
|
||||
pci_addr.func,
|
||||
|
Loading…
Reference in New Issue
Block a user