summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2021-12-25 11:06:12 +0200
committerBrian Gianforcaro <b.gianfo@gmail.com>2021-12-28 00:56:47 -0800
commit7991a923888eefaf115adafdbe5e11b68cf07f94 (patch)
tree71d81f8a403c958f439f083caeead1e1f860424a
parent059a47afb616a74f28b83eb9a00b522f077a659b (diff)
downloadserenity-7991a923888eefaf115adafdbe5e11b68cf07f94.zip
Kernel/Net: Move NE2000 network adapter code to a separate directory
-rw-r--r--Kernel/CMakeLists.txt2
-rw-r--r--Kernel/Net/NE2000/NetworkAdapter.cpp (renamed from Kernel/Net/NE2000NetworkAdapter.cpp)2
-rw-r--r--Kernel/Net/NE2000/NetworkAdapter.h (renamed from Kernel/Net/NE2000NetworkAdapter.h)0
-rw-r--r--Kernel/Net/NetworkingManagement.cpp2
4 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/CMakeLists.txt b/Kernel/CMakeLists.txt
index 1c457f02a2..0ffb83efe9 100644
--- a/Kernel/CMakeLists.txt
+++ b/Kernel/CMakeLists.txt
@@ -166,10 +166,10 @@ set(KERNEL_SOURCES
Locking/Mutex.cpp
Net/Intel/E1000ENetworkAdapter.cpp
Net/Intel/E1000NetworkAdapter.cpp
+ Net/NE2000/NetworkAdapter.cpp
Net/IPv4Socket.cpp
Net/LocalSocket.cpp
Net/LoopbackAdapter.cpp
- Net/NE2000NetworkAdapter.cpp
Net/NetworkAdapter.cpp
Net/NetworkTask.cpp
Net/NetworkingManagement.cpp
diff --git a/Kernel/Net/NE2000NetworkAdapter.cpp b/Kernel/Net/NE2000/NetworkAdapter.cpp
index 3062647aa2..ba927dc759 100644
--- a/Kernel/Net/NE2000NetworkAdapter.cpp
+++ b/Kernel/Net/NE2000/NetworkAdapter.cpp
@@ -8,7 +8,7 @@
#include <Kernel/Arch/x86/IO.h>
#include <Kernel/Bus/PCI/API.h>
#include <Kernel/Debug.h>
-#include <Kernel/Net/NE2000NetworkAdapter.h>
+#include <Kernel/Net/NE2000/NetworkAdapter.h>
#include <Kernel/Net/NetworkingManagement.h>
#include <Kernel/Sections.h>
diff --git a/Kernel/Net/NE2000NetworkAdapter.h b/Kernel/Net/NE2000/NetworkAdapter.h
index f901a934ea..f901a934ea 100644
--- a/Kernel/Net/NE2000NetworkAdapter.h
+++ b/Kernel/Net/NE2000/NetworkAdapter.h
diff --git a/Kernel/Net/NetworkingManagement.cpp b/Kernel/Net/NetworkingManagement.cpp
index 5eabf6fe59..57759470ad 100644
--- a/Kernel/Net/NetworkingManagement.cpp
+++ b/Kernel/Net/NetworkingManagement.cpp
@@ -14,7 +14,7 @@
#include <Kernel/Net/Intel/E1000ENetworkAdapter.h>
#include <Kernel/Net/Intel/E1000NetworkAdapter.h>
#include <Kernel/Net/LoopbackAdapter.h>
-#include <Kernel/Net/NE2000NetworkAdapter.h>
+#include <Kernel/Net/NE2000/NetworkAdapter.h>
#include <Kernel/Net/NetworkingManagement.h>
#include <Kernel/Net/RTL8139NetworkAdapter.h>
#include <Kernel/Net/RTL8168NetworkAdapter.h>