mediatek: filogic: replace built-in Aquantia driver with module
authorRafał Miłecki <rafal@milecki.pl>
Wed, 17 Jan 2024 21:20:15 +0000 (22:20 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Sun, 17 Mar 2024 20:55:37 +0000 (21:55 +0100)
commit0a571c9e77b381ff4ea4beb42113b5cd43144f12
tree0fb7a771f708f0ca8dd1651b6149db8d0c4f8ac3
parentf02920dd98188758113d4e44b97c95f07f7cde2a
mediatek: filogic: replace built-in Aquantia driver with module

Some Aquantia PHYs (e.g. AQR113C) require firmware to be uploaded by
host system. With built-in drivers this doesn't work in OpenWrt /
embeddded as filesystem isn't available during PHY probe. That results
in delays like:
[    1.588068] Aquantia AQR113C mdio-bus:00: Falling back to sysfs fallback for: Rhe-05.06-Candidate9-AQR_Mediatek_23B_P5_ID45824_LCLVER1.cld
[   64.526387] Aquantia AQR113C mdio-bus:00: failed to find FW file Rhe-05.06-Candidate9-AQR_Mediatek_23B_P5_ID45824_LCLVER1.cld (-110)

Switch to module to postpone PHY probe to init state.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 3bd79e6136a572b73536e9216cc199399fb33b30)
target/linux/mediatek/filogic/config-5.15
target/linux/mediatek/filogic/target.mk