summaryrefslogtreecommitdiff
path: root/Kernel/Net/NE2000NetworkAdapter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Net/NE2000NetworkAdapter.cpp')
-rw-r--r--Kernel/Net/NE2000NetworkAdapter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/NE2000NetworkAdapter.cpp b/Kernel/Net/NE2000NetworkAdapter.cpp
index c9234cf501..31b962d961 100644
--- a/Kernel/Net/NE2000NetworkAdapter.cpp
+++ b/Kernel/Net/NE2000NetworkAdapter.cpp
@@ -228,7 +228,7 @@ void NE2000NetworkAdapter::handle_irq(const RegisterState&)
out8(REG_RW_INTERRUPTSTATUS, status);
}
-int NE2000NetworkAdapter::ram_test()
+UNMAP_AFTER_INIT int NE2000NetworkAdapter::ram_test()
{
IOAddress io(PCI::get_BAR0(pci_address()) & ~3);
int errors = 0;