fixed phy

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

fixed phy

Jump to solution
4,540 Views
woutervh
Contributor IV

Hello all,

I have an IMX53 board (own design) connected to a marvell switch through RMII, It has no SMI/MDIO bus. (The marvell switch functions well without configuring)

But I don't seem to manage to get it working in the kernel (2.6.35 from freescale BSP). I found out that there exists a "fixed phy" driver for these purposes, but when I enable it, I get:

Fixed MDIO initialized!

FEC Ethernet Driver

------------[ cut here ]------------

WARNING: at fs/sysfs/dir.c:451 sysfs_add_one+0x64/0x84()

sysfs: cannot create duplicate filename '/class/mdio_bus/0'

Modules linked in:


And things don't work. Somebody has an Idea on how to fix this?

I already tried to replace the name "0" in fixed.c to "fixed-0" and then it goes further, but no eth0 found later on...

1 Solution
2,991 Views
woutervh
Contributor IV

Hello

The fix was: change the id of the fixed bus to "fixed-0", and then add a phy to this fixed-0 bus

View solution in original post

3 Replies
2,992 Views
woutervh
Contributor IV

Hello

The fix was: change the id of the fixed bus to "fixed-0", and then add a phy to this fixed-0 bus

2,991 Views
ToxicAvenger
Contributor III

Hello,

I have similar problem.

How to add a phy to this fixed-0 bus?

Best regards,

Toxic

0 Kudos
Reply
2,992 Views
JasonLiu
NXP Employee
NXP Employee

Could you please see the thread I discussed before and see any help for you:

Bug #655641 “mii_bus fails to register on imx51” : Bugs : Linaro Linux

0 Kudos
Reply