X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/8328d66ad5de53d630db5b32a155404181733843..2804ceee4ce65d49e9d52d0ed817317c0ac9efdc:/lunaix-os/hal/pci.c diff --git a/lunaix-os/hal/pci.c b/lunaix-os/hal/pci.c index 04c7575..229335c 100644 --- a/lunaix-os/hal/pci.c +++ b/lunaix-os/hal/pci.c @@ -62,6 +62,13 @@ pci_probe_device(int bus, int dev, int funct) .device_info = reg1, .intr_info = intr }; + kprintf("dev.%d:%d:%d %x:%x\n", + bus, + dev, + funct, + PCI_DEV_VENDOR(reg1), + PCI_DEV_DEVID(reg1)); + pci_probe_msi_info(device); pci_probe_bar_info(device);