We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc1c5b4 commit 15303e7Copy full SHA for 15303e7
1 file changed
components/drivers/pci/probe.c
@@ -342,6 +342,8 @@ rt_err_t rt_pci_setup_device(struct rt_pci_device *pdev)
342
rt_dm_dev_set_name(&pdev->parent, "%04x:%02x:%02x.%u", rt_pci_domain(pdev),
343
pdev->bus->number, RT_PCI_SLOT(pdev->devfn), RT_PCI_FUNC(pdev->devfn));
344
345
+ class = pdev->class >> 8;
346
+
347
switch (pdev->hdr_type)
348
{
349
case PCIM_HDRTYPE_NORMAL:
0 commit comments