mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-14 10:57:56 +04:00
Update drivers for 6.18. For SF19: 1. update the GPIO set callback to return status and use the restored platform driver remove callback. 2. drop the obsolete PCS-ignore flag. Linux 6.18 removed the broken legacy PCS ethtool and carrier handling, making phylink authoritative unconditionally. For SF21: 1. update the PCIe and XPCS remove callbacks 2. pass the new negotiation mode argument to the PCS state callback 3. replace the now-private init_dummy_netdev() helper with an allocated dummy netdev. 4. Track initialized NAPI contexts so probe failures and device removal release only valid resources. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>