Kernel: Remove the RTL8139 PCI network adapter driver

Nobody tests this network card, and the driver has bugs (see the issue
https://github.com/SerenityOS/serenity/issues/10198 for more details),
so it's almost certain that this happened due to code being rotting when
there's simply no testing of it.

Essentially this has been determined to be dead-code so this is the most
important reason to drop this code. Another good reason to do so is
because the RTL8139 only supports Fast Ethernet connections (10/100
Megabits per second), and is considered obsolete even for bare metal
setups.
This commit is contained in:
Liav A 2023-01-07 11:13:45 +02:00 committed by Andrew Kaster
parent 3281050359
commit 5c97c6d874
Notes: sideshowbarker 2024-07-17 01:59:16 +09:00
6 changed files with 0 additions and 480 deletions

View file

@ -15,7 +15,6 @@
#include <Kernel/Net/LoopbackAdapter.h>
#include <Kernel/Net/NE2000/NetworkAdapter.h>
#include <Kernel/Net/NetworkingManagement.h>
#include <Kernel/Net/Realtek/RTL8139NetworkAdapter.h>
#include <Kernel/Net/Realtek/RTL8168NetworkAdapter.h>
#include <Kernel/Sections.h>
@ -100,7 +99,6 @@ struct PCINetworkDriverInitializer {
static constexpr PCINetworkDriverInitializer s_initializers[] = {
{ RTL8168NetworkAdapter::probe, RTL8168NetworkAdapter::create },
{ RTL8139NetworkAdapter::probe, RTL8139NetworkAdapter::create },
{ NE2000NetworkAdapter::probe, NE2000NetworkAdapter::create },
{ E1000NetworkAdapter::probe, E1000NetworkAdapter::create },
{ E1000ENetworkAdapter::probe, E1000ENetworkAdapter::create },