[PATCH] phy: export phy_mii_ioctl

Jon Smirl jonsmirl at gmail.com
Wed Sep 19 05:29:09 EST 2007


On 9/18/07, Domen Puncer <domen at coderock.org> wrote:
> More testing and getting it to work properly on Phytec pcm030 would
> be great.

Do we want to do anything about this?

[    1.569657] net eth0: attached phy 0 to driver Generic PHY
[    2.576013] Sending DHCP requests .<6>PHY: f0003000:00 - Link is Up
- 100/Full
[    4.612000] ., OK
[    6.764005] IP-Config: Got DHCP answer from 192.168.1.200, my
address is 192.168.1.5

What is happening is the printk for "<6>PHY: f0003000:00 - Link is Up
- 100/Full" is done in an interrupt and it comes in the middle of the
kernel doing DHCP and printing ... without a CR.

Two possible solutions, get rid of the link-up message or wait in in
the initial driver load until the link is up. Or we could leave it the
way it is, but some people may report this as a bug.


-- 
Jon Smirl
jonsmirl at gmail.com


More information about the Linuxppc-embedded mailing list