summaryrefslogtreecommitdiff
path: root/Kernel/Net/RTL8139NetworkAdapter.h
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2019-12-31 13:04:30 +0200
committerAndreas Kling <awesomekling@gmail.com>2020-01-02 00:50:09 +0100
commite5ffa960d7b585f4aba0eb18b89a14dee9e7e2b5 (patch)
tree4f6333ceb99e4010936b30082ce990d4ce0def1c /Kernel/Net/RTL8139NetworkAdapter.h
parentd85874be4bae26f414cbb573ff2d67f491a331d6 (diff)
downloadserenity-e5ffa960d7b585f4aba0eb18b89a14dee9e7e2b5.zip
Kernel: Create support for PCI ECAM
The new PCI subsystem is initialized during runtime. PCI::Initializer is supposed to be called during early boot, to perform a few tests, and initialize the proper configuration space access mechanism. Kernel boot parameters can be specified by a user to determine what tests will occur, to aid debugging on problematic machines. After that, PCI::Initializer should be dismissed. PCI::IOAccess is a class that is derived from PCI::Access class and implements PCI configuration space access mechanism via x86 IO ports. PCI::MMIOAccess is a class that is derived from PCI::Access and implements PCI configurtaion space access mechanism via memory access. The new PCI subsystem also supports determination of IO/MMIO space needed by a device by checking a given BAR. In addition, Every device or component that use the PCI subsystem has changed to match the last changes.
Diffstat (limited to 'Kernel/Net/RTL8139NetworkAdapter.h')
-rw-r--r--Kernel/Net/RTL8139NetworkAdapter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/RTL8139NetworkAdapter.h b/Kernel/Net/RTL8139NetworkAdapter.h
index 7724f18289..77071db4b9 100644
--- a/Kernel/Net/RTL8139NetworkAdapter.h
+++ b/Kernel/Net/RTL8139NetworkAdapter.h
@@ -3,7 +3,7 @@
#include <AK/OwnPtr.h>
#include <Kernel/IRQHandler.h>
#include <Kernel/Net/NetworkAdapter.h>
-#include <Kernel/PCI.h>
+#include <Kernel/PCI/Access.h>
#define RTL8139_TX_BUFFER_COUNT 4