mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 01:29:17 +00: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: bed069bd14
Pull-request: https://github.com/SerenityOS/serenity/pull/499
Reviewed-by: https://github.com/awesomekling
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue