login
Header Space

 
 

[PATCH] lan91c111 phy power-up

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-net@...>
Date: Thursday, May 15, 2008 - 12:50 pm

Hi All,
after calling the smc_drv_resume function, I noticed that sometime the 
PHY doesn't resume at all.
Has anybody never met this issue?

According to the SMSC LAN91C11 documentation, the device is guaranteed 
to be ready for normal operation 500ms after power-down is de-asserted.
The smc_drv_resume function invokes the smc_phy_configure but, it seems, 
50ms are not to sufficient to put the PHY in isolation mode (following 
the reset procedure).
Note that the driver only requires to wait 50ms after the reset pin was 
de-asserted.
The patch attached reviews the resume function.
Instead of calling the smc_phy_configure now the driver follows the 
procedure described into the datasheet.
I've tested it with the STLinux kernel 2.6.23 16 on SH4 platforms 
(www.stlinux.com <http://www.stlinux.com>).
So I'm able to resume the target and the network is up and stable enough.

Best regards,
Giuseppe
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] lan91c111 phy power-up, Giuseppe Cavallaro, (Thu May 15, 12:50 pm)
speck-geostationary