]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
m68k: coldfire: remove creating a fixed phy
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 30 Oct 2025 21:43:36 +0000 (22:43 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 5 Nov 2025 02:46:13 +0000 (18:46 -0800)
Now that the fec ethernet driver creates a fixed phy if needed,
we can remove this here.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://patch.msgid.link/212e0cb5-a2f5-460f-8e03-3c3369d0acf1@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
arch/m68k/coldfire/m5272.c

index 918e2a3236c5bb592128c6c9b04e402fb71d0c11..28b3ffa25ba0b7c2872e3a77c341eab0a4a463ee 100644 (file)
@@ -16,7 +16,6 @@
 #include <linux/init.h>
 #include <linux/io.h>
 #include <linux/phy.h>
-#include <linux/phy_fixed.h>
 #include <asm/machdep.h>
 #include <asm/coldfire.h>
 #include <asm/mcfsim.h>
@@ -103,23 +102,9 @@ void __init config_BSP(char *commandp, int size)
 
 /***************************************************************************/
 
-/*
- * Some 5272 based boards have the FEC ethernet directly connected to
- * an ethernet switch. In this case we need to use the fixed phy type,
- * and we need to declare it early in boot.
- */
-static const struct fixed_phy_status nettel_fixed_phy_status __initconst = {
-       .link   = 1,
-       .speed  = 100,
-       .duplex = 0,
-};
-
-/***************************************************************************/
-
 static int __init init_BSP(void)
 {
        m5272_uarts_init();
-       fixed_phy_add(&nettel_fixed_phy_status);
        clkdev_add_table(m5272_clk_lookup, ARRAY_SIZE(m5272_clk_lookup));
        return 0;
 }