Skip to content

Commit

Permalink
gmac - fix hang in Ethernet driver (#19)
Browse files Browse the repository at this point in the history
Ethernet driver is hanging. Occurs due to rollover of statistics, which
triggers an interrupt, and we never clear the interrupt's status.

Quick fix is to just freeze the statistics, and then they never trigger
interrupts.

Additional change: disable interrupts while the DPC is pending. This
noticeably improves performance.
  • Loading branch information
idigdoug authored Dec 24, 2023
1 parent 069adb4 commit 1cacff0
Show file tree
Hide file tree
Showing 5 changed files with 146 additions and 112 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This repository contains drivers for RK35xx-based platforms, with a focus on RK3
|Multimedia codecs||πŸ”΄ Not working||
|DSI||πŸ”΄ Not working||
|CSI||πŸ”΄ Not working||
|GMAC Ethernet|[dwc_eqos](https://github.com/worproject/Rockchip-Windows-Drivers/tree/master/drivers/net/dwc_eqos)|🟒 Working||
|GMAC Ethernet|[dwc_eqos](drivers/net/dwc_eqos)|🟑 Partially working|1000Mbps only (gigabit Ethernet only - 10/100 not yet supported)|
|UART||πŸ”΄ Not working|No OS driver but debugging does work on UART2, being configured by UEFI.|
|GPIO|[rk3xgpio](https://github.com/worproject/Rockchip-Windows-Drivers/tree/master/drivers/gpio)|🟒 Working||
|I2C|[rk3xi2c](https://github.com/worproject/Rockchip-Windows-Drivers/tree/master/drivers/i2c)|🟒 Working||
Expand Down
Loading

0 comments on commit 1cacff0

Please sign in to comment.