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
commit b5d388a9b3
Notes: sideshowbarker 2024-07-18 12:35:02 +09:00

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;