mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-05 18:44:27 +03:00
Kernel: Ask for all relevant IRQs in rtl8139 driver
This commit is contained in:
parent
5f86a979ea
commit
bed069bd14
Notes:
sideshowbarker
2024-07-19 12:28:17 +09:00
Author: https://github.com/deoxxa Commit: https://github.com/SerenityOS/serenity/commit/bed069bd14c Pull-request: https://github.com/SerenityOS/serenity/pull/499 Reviewed-by: https://github.com/awesomekling
@ -263,7 +263,7 @@ void RTL8139NetworkAdapter::reset()
|
||||
out8(REG_COMMAND, COMMAND_RX_ENABLE | COMMAND_TX_ENABLE);
|
||||
|
||||
// choose irqs, then clear any pending
|
||||
out16(REG_IMR, INT_TXOK | INT_TXERR | INT_RXOK | INT_RXERR);
|
||||
out16(REG_IMR, INT_RXOK | INT_RXERR | INT_TXOK | INT_TXERR | INT_RX_BUFFER_OVERFLOW | INT_LINK_CHANGE | INT_RX_FIFO_OVERFLOW | INT_LENGTH_CHANGE | INT_SYSTEM_ERROR);
|
||||
out16(REG_ISR, 0xffff);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user