mirror of
https://github.com/LiBwrt-op/openwrt-6.x.git
synced 2026-01-23 03:29:17 +00:00
After booting, a "transmit queue 0 timed out" warning followed by a register dump was observed. The dump indicates that mtk_hw_init() does not initialize the EEECR during probe. This occurs because the netdev is allocated in mtk_add_mac(), which is called after mtk_hw_init(). Consequently, the EEECR register remains uninitialized until a reset is triggered, causing mtk_hw_init() to run again with a valid netdev, at which point the register is finally set. To address this, instead of modifying the probe sequence, latch the Tx LPI enable state and timer value, and move the EEECR register initialization to mtk_mac_link_up() to ensure proper setup when the interface comes up. Additionally, the splat reveals that LPI functionality is controlled by the MAC_MCR_EEE bits in the MCR register. Update mtk_set_eee() to modify these bits accordingly. Fixes: |
||
|---|---|---|
| .. | ||
| 200-tools_portability.patch | ||
| 204-module_strip.patch | ||
| 205-kconfig-abort-configuration-on-unset-symbol.patch | ||
| 210-darwin_scripts_include.patch | ||
| 211-darwin-uuid-typedef-clash.patch | ||
| 214-spidev_h_portability.patch | ||
| 220-arm-gc_sections.patch | ||
| 230-openwrt_lzma_options.patch | ||
| 250-netfilter_depends.patch | ||
| 251-kconfig.patch | ||
| 253-ksmbd-config.patch | ||
| 259-regmap_dynamic.patch | ||
| 260-crypto_test_dependencies.patch | ||
| 261-lib-arc4-unhide.patch | ||
| 280-rfkill-stubs.patch | ||
| 300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch | ||
| 402-mtd-blktrans-call-add-disks-after-mtd-device.patch | ||
| 420-mtd-support-OpenWrt-s-MTD_ROOTFS_ROOT_DEV.patch | ||
| 421-drivers-mtd-parsers-add-nvmem-support-to-cmdlinepart.patch | ||
| 430-mtk-bmt-support.patch | ||
| 600-net-enable-fraglist-GRO-by-default.patch | ||
| 610-net-page_pool-try-to-free-deferred-skbs-while-waitin.patch | ||
| 645-netfilter-connmark-introduce-set-dscpmark.patch | ||
| 650-netfilter-add-xt_FLOWOFFLOAD-target.patch | ||
| 651-wireless_mesh_header.patch | ||
| 660-fq_codel_defaults.patch | ||
| 661-kernel-ct-size-the-hashtable-more-adequately.patch | ||
| 700-swconfig_switch_drivers.patch | ||
| 711-net-dsa-mv88e6xxx-disable-ATU-violation.patch | ||
| 721-net-add-packet-mangeling.patch | ||
| 722-net-phy-aquantia-enable-AQR112-and-AQR412.patch | ||
| 723-net-phy-aquantia-fix-system-side-protocol-mi.patch | ||
| 725-net-phy-aquantia-add-PHY_IDs-for-AQR112-variants.patch | ||
| 730-net-ethernet-mtk_eth_soc-add-hw-dump-for-forced-rese.patch | ||
| 735-net-phy-realtek-rtl8261n.patch | ||
| 750-net-pcs-mtk-lynxi-workaround-2500BaseX-no-an.patch | ||
| 760-net-usb-r8152-add-LED-configuration-from-OF.patch | ||
| 761-dt-bindings-net-add-RTL8152-binding-documentation.patch | ||
| 766-net-phy-mediatek-ge-add-LED-configuration-interface.patch | ||
| 773-bgmac-add-srab-switch.patch | ||
| 780-usb-net-MeigLink_modem_support.patch | ||
| 781-usb-net-rndis-support-asr.patch | ||
| 790-SFP-GE-T-ignore-TX_FAULT.patch | ||
| 800-GPIO-add-named-gpio-exports.patch | ||
| 810-bcma-ssb-fallback-sprom.patch | ||
| 901-debloat_sock_diag.patch | ||
| 902-debloat_proc.patch | ||
| 904-debloat_dma_buf.patch | ||
| 910-kobject_uevent.patch | ||
| 911-kobject_add_broadcast_uevent.patch | ||
| 920-device_tree_cmdline.patch | ||
| 930-Revert-Revert-Revert-driver-core-Set-fw_devlink-on-b.patch | ||