diff options
| author | Miguel <m.i@gmx.at> | 2018-09-27 00:59:48 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-27 00:59:48 +0200 |
| commit | c7199cdb8b088b1b1d243aabfbd1c831bdae9637 (patch) | |
| tree | e6f747b4b7e7d201e407a1656ef971b1c97bf499 /driver | |
| parent | b86f48da7fc46934d576698bb4f16be9b2a7eaf9 (diff) | |
reenable interrupts
Diffstat (limited to 'driver')
| -rw-r--r-- | driver/pci.c | 2 |
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); |
