mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-11 17:00:37 +00:00
Kernel: Fix RAM OK test condition for NE2000NetworkAdapter
This commit is contained in:
parent
a73bd0fff8
commit
dcff87215b
Notes:
sideshowbarker
2024-07-18 20:25:04 +09:00
Author: https://github.com/boricj Commit: https://github.com/SerenityOS/serenity/commit/dcff87215b2 Pull-request: https://github.com/SerenityOS/serenity/pull/6295
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ UNMAP_AFTER_INIT NE2000NetworkAdapter::NE2000NetworkAdapter(PCI::Address address
|
||||||
dmesgln("NE2000: Interrupt line: {}", m_interrupt_line);
|
dmesgln("NE2000: Interrupt line: {}", m_interrupt_line);
|
||||||
|
|
||||||
int ram_errors = ram_test();
|
int ram_errors = ram_test();
|
||||||
dmesgln("NE2000: RAM test {}, got {} byte errors", (ram_errors > 0 ? "OK" : "KO"), ram_errors);
|
dmesgln("NE2000: RAM test {}, got {} byte errors", (ram_errors == 0 ? "OK" : "KO"), ram_errors);
|
||||||
|
|
||||||
reset();
|
reset();
|
||||||
set_mac_address(m_mac_address);
|
set_mac_address(m_mac_address);
|
||||||
|
|
Loading…
Reference in a new issue