From c7199cdb8b088b1b1d243aabfbd1c831bdae9637 Mon Sep 17 00:00:00 2001 From: Miguel Date: Thu, 27 Sep 2018 00:59:48 +0200 Subject: reenable interrupts --- driver/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'driver') 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); -- cgit v1.2.3