diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-11-13 00:35:06 +0100 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-11-13 00:35:06 +0100 |
| commit | b126d01e9687e6509c9d49b1b174c95aee603a89 (patch) | |
| tree | fe05187f4f9c28ef65bf530116c20c05f1a679b8 /kernel/pci.c | |
| parent | e3c4f3b03aa77ea19ddf7d982d39871dbdc018c0 (diff) | |
fixing implicit functions!
Diffstat (limited to 'kernel/pci.c')
| -rw-r--r-- | kernel/pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |
