We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4537d06 commit ff31044Copy full SHA for ff31044
bsp/imxrt/libraries/drivers/SConscript
@@ -50,6 +50,8 @@ if GetDepend('BSP_USING_ETH'):
50
51
if GetDepend('BSP_USING_PHY'):
52
src += ['drv_mdio.c']
53
+ if GetDepend('PHY_USING_KSZ8081'):
54
+ src += ['drv_ksz8081.c']
55
56
if GetDepend('BSP_USING_AUDIO'):
57
src += ['drv_sai.c']
bsp/imxrt/libraries/peripherals/phyksz8081.c renamed to bsp/imxrt/libraries/drivers/drv_ksz8081.c
@@ -358,12 +358,10 @@ static struct rt_phy_ops phy_ops =
358
static int rt_phy_ksz8081_register( void )
359
{
360
phy_ksz8081.ops = &phy_ops;
361
- rt_hw_phy_register(&phy_ksz8081, "rtt-phy");
+ rt_hw_phy_register(&phy_ksz8081, "ksz8081");
362
return 1;
363
}
364
365
INIT_DEVICE_EXPORT(rt_phy_ksz8081_register);
366
367
-
368
369
#endif /* PHY_USING_KSZ8081 */
bsp/imxrt/libraries/peripherals/SConscript
0 commit comments