From: Théo Lebrun Date: Wed, 25 Mar 2026 16:28:18 +0000 (+0000) Subject: net: macb: drop usrio pointer on EyeQ5 config X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cd1082a96f9a1ffe053e48ac0a1b4fffb189c30e;p=thirdparty%2Fkernel%2Flinux.git net: macb: drop usrio pointer on EyeQ5 config USRIO is disabled on this platform, drop its inherited usrio config. We will end up with MACB_CAPS_USRIO_DISABLED on this platform: - We have no config->usrio so macb_configure_caps() deduces that the feature is disabled. - Anecdotally, we would also land in the runtime detection codepath that reads DCFG1. Signed-off-by: Théo Lebrun Signed-off-by: Conor Dooley Link: https://patch.msgid.link/20260325-stillness-undertake-d83054057b8d@spud Signed-off-by: Jakub Kicinski --- diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c index 4dae84ceb545..7a48ebe0741f 100644 --- a/drivers/net/ethernet/cadence/macb_main.c +++ b/drivers/net/ethernet/cadence/macb_main.c @@ -5695,7 +5695,6 @@ static const struct macb_config eyeq5_config = { .dma_burst_length = 16, .init = eyeq5_init, .jumbo_max_len = 10240, - .usrio = &at91_default_usrio, }; static const struct macb_config raspberrypi_rp1_config = {