Davicom DM9000A regression
Subsystems (2)
Hi all.
I've encountered a connectivity problem with Davicom DM9000A chip. The symptoms are the following message when booting via NFS:
dm9000 dm9000.0: eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
A bit of digging revealed the cause as this patch:
"DM9000B: driver initialization upgrade"
and specifically, the following line that was added by it:dm9000_phy_write(dev, 0, MII_BMCR, BMCR_RESET); /* PHY RESET */ (uncommenting this line solves the problem).
Adding a delay after the phy reset did not help.
I'll appreciate any insight someone might have on this issue.
Signature · 2 lines
Regards, Nikita.
Nikita Kiryanov <[email protected]> :
[...]
Quoted 2 lines
A bit of digging revealed the cause as this patch:
"DM9000B: driver initialization upgrade"
(aka 6741f40d198c6a5feb23653a1efd4ca47f93d83d)
Quoted 4 lines
and specifically, the following line that was added by it:
dm9000_phy_write(dev, 0, MII_BMCR, BMCR_RESET); /* PHY RESET */ (uncommenting this line solves the problem).
Adding a delay after the phy reset did not help.
(I have no idea why Davicom enforced a dsp phy register write everywhere instead of using db->type to identify the specific chipset revision that requires it)
The last version of the patch changed - not much - without notice and it did not contain the "tested on DM9000{A, B, E}, x86, arm" part.
You may try http://marc.info/?l=linux-netdev&m=136443908225335 to see if it behaves the same.
Signature · 1 line
Ueimor
Quoted 5 lines · Nikita Kiryanov
Hi all.
I've encountered a connectivity problem with Davicom DM9000A chip. The symptoms are the following message when booting via NFS:
dm9000 dm9000.0: eth0: link up, 100Mbps, full-duplex, lpa0xCDE1
Eh, copy pasted the wrong thing.
The message is a link down message:
dm9000 dm9000.0: eth0: link down
Also, CC-ing David Miller
Signature · 2 lines
Regards, Nikita.
Hi Francois Romie,
Quoted 1 line · Francois Romieu
Nikita Kiryanov <[email protected]> :
[...]
Quoted 6 lines
The last version of the patch changed - not much - without notice and it did not contain the "tested on DM9000{A, B, E}, x86, arm" part.
You may try http://marc.info/?l=linux-netdev&m=136443908225335 to see if it behaves the same.
I gave it a try and the problem persists. Not surprising since it does have the offending phy reset.
Signature · 2 lines
Regards, Nikita.