PCI: Log device type during enumeration
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 10 Nov 2023 21:43:15 +0000 (15:43 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 15 Dec 2023 23:26:21 +0000 (17:26 -0600)
commit35259ff188e028b8fee8f1e973d0a7466df76d13
tree6ef9b4e313dbef7035a4e4fc31baa7e9662290c4
parentb85ea95d086471afb4ad062012a4d73cd328fa86
PCI: Log device type during enumeration

Log the device type when enumeration a device.  Sample output changes:

  - pci 0000:00:00.0: [8086:1237] type 00 class 0x060000
  + pci 0000:00:00.0: [8086:1237] type 00 class 0x060000 conventional PCI endpoint

  - pci 0000:00:1c.0: [8086:a110] type 01 class 0x060400
  + pci 0000:00:1c.0: [8086:a110] type 01 class 0x060400 PCIe Root Port

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/probe.c