1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:07:35 +00:00

Kernel: Mark NE2000NetworkAdapter::ram_test() UNMAP_AFTER_INIT

This commit is contained in:
Brian Gianforcaro 2021-06-09 00:51:05 -07:00 committed by Andreas Kling
parent e9add0bb80
commit b5d388a9b3

View file

@ -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;