Kernel: Implement rtl8139 network interface driver

This commit is contained in:
Conrad Pankoff
2019-08-22 01:06:55 +10:00
committed by Andreas Kling
parent 286bafbb19
commit 4afe9e4f2a
5 changed files with 444 additions and 6 deletions

View File

@@ -34,6 +34,7 @@
#include <Kernel/Multiboot.h>
#include <Kernel/Net/E1000NetworkAdapter.h>
#include <Kernel/Net/NetworkTask.h>
#include <Kernel/Net/RTL8139NetworkAdapter.h>
#include <Kernel/PCI.h>
#include <Kernel/TTY/PTYMultiplexer.h>
#include <Kernel/TTY/VirtualConsole.h>
@@ -242,6 +243,7 @@ extern "C" [[noreturn]] void init()
}
auto e1000 = E1000NetworkAdapter::autodetect();
auto rtl8139 = RTL8139NetworkAdapter::autodetect();
NonnullRefPtr<ProcFS> new_procfs = ProcFS::create();
new_procfs->initialize();