mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:47:34 +00:00
Kernel: Mark NE2000NetworkAdapter::ram_test() UNMAP_AFTER_INIT
This commit is contained in:
parent
e9add0bb80
commit
b5d388a9b3
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ void NE2000NetworkAdapter::handle_irq(const RegisterState&)
|
||||||
out8(REG_RW_INTERRUPTSTATUS, status);
|
out8(REG_RW_INTERRUPTSTATUS, status);
|
||||||
}
|
}
|
||||||
|
|
||||||
int NE2000NetworkAdapter::ram_test()
|
UNMAP_AFTER_INIT int NE2000NetworkAdapter::ram_test()
|
||||||
{
|
{
|
||||||
IOAddress io(PCI::get_BAR0(pci_address()) & ~3);
|
IOAddress io(PCI::get_BAR0(pci_address()) & ~3);
|
||||||
int errors = 0;
|
int errors = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue