From b126d01e9687e6509c9d49b1b174c95aee603a89 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Thu, 13 Nov 2014 00:35:06 +0100 Subject: fixing implicit functions! --- kernel/pci.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kernel/pci.c') diff --git a/kernel/pci.c b/kernel/pci.c index c8bd95d..e5d9711 100644 --- a/kernel/pci.c +++ b/kernel/pci.c @@ -1,5 +1,6 @@ #include "kernel.h" #include "x86.h" +#include "e1000.h" #include "../lib/logger/log.h" // logger facilities #define FOOLOS_MODULE_NAME "pci" @@ -85,6 +86,7 @@ uint16_t pciCheck(uint8_t bus, uint8_t slot) { // uint16_t irq=pciConfigReadWord(bus,slot,0,0x3C); // uint16_t irq2=pciConfigReadWord(bus,slot,0,0x3E); + // init_e1000(); test_bar(bus,slot,0x10); -- cgit v1.2.3