summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
Diffstat (limited to 'driver')
-rw-r--r--driver/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/pci.c b/driver/pci.c
index 79f3e24..a6d68c1 100644
--- a/driver/pci.c
+++ b/driver/pci.c
@@ -86,6 +86,7 @@ uint32_t test_bar(uint8_t bus, uint8_t slot, uint8_t offset)
uint16_t pciCheck(uint8_t bus, uint8_t slot)
{
+ //https://pci-ids.ucw.cz/v2.2/pci.ids
uint16_t vendor, device, irq;
/* try and read the first configuration register. Since there are no */
@@ -98,7 +99,6 @@ uint16_t pciCheck(uint8_t bus, uint8_t slot)
irq = pciConfigReadWord(bus,slot,0,0x3c);
uint8_t header = pciConfigReadWord(bus,slot,0,0xd)&0xff;
-
klog("[%d,%d]: vendor: 0x%x / device: 0x%x",bus,slot,vendor,device);
klog("header_typ=%x, %d,pin=%d , irq=%d",header,irq,irq&0xFf00,irq&0xFf);