]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
net: macb: drop usrio pointer on EyeQ5 config
authorThéo Lebrun <theo.lebrun@bootlin.com>
Wed, 25 Mar 2026 16:28:18 +0000 (16:28 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sun, 29 Mar 2026 21:34:29 +0000 (14:34 -0700)
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 <theo.lebrun@bootlin.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20260325-stillness-undertake-d83054057b8d@spud
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cadence/macb_main.c

index 4dae84ceb545b2e5f18f231c6da93a9d374a7ba2..7a48ebe0741f3b031d4c3c266cc0e565bab61211 100644 (file)
@@ -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 = {