[PATCH 12/13] gianfar: Add flags for magic packet and MDIO.

Scott Wood scottwood at freescale.com
Tue May 8 05:54:36 EST 2007


Kumar Gala wrote:
> 
> On May 7, 2007, at 1:29 PM, Scott Wood wrote:
> 
>> The magic packet flag indicates that the hardware has this
>> capability.  The MDIO flag indicates that this device's
>> registers contain active MDIO registers, and thus this
>> device should not be put to sleep.
> 
> 
> Can you explain the MDIO part further, do you mean its the tsec that  
> has the MDIO registers in its address space or that its actively  using 
> MDIO for something?

TSEC1 contains the MDIO registers for both TSEC1 and TSEC2.  Thus, TSEC1 
cannot be put to sleep if TSEC2 is active (plus, the phy timer would 
have to be deactivated).  For now, the simple approach of never sleeping 
TSEC1 is used.

-Scott



More information about the Linuxppc-dev mailing list