[PATCH 1/4 v3] powerpc: document interface-type property

Andy Fleming afleming at freescale.com
Sat Apr 21 07:34:21 EST 2007


On Apr 20, 2007, at 15:57, Kumar Gala wrote:

>
> On Apr 20, 2007, at 3:11 PM, Kim Phillips wrote:
>
>> Since ucc_geth is being migrated to use the phylib, the existing
>> (undocumented) 'interface' property is being deprecated in favour
>> of a stringified version, 'interface-type'.
>>
>> interface-type is maintained one-to-one with definitions
>> in include/linux/phy.h.  If not specified, "mii" is assumed.
>>
>> Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
>> ---
>> removed max-speed property, since the name is apparently too generic
>> (it's derived from the interface-type anyway)
>
> Are you sure?  Is not possible to use a gmii phy on a 8323 and limit
> it to 10/100?


Ahem.  Just to maintain this point: It's not a GMII PHY.  It would be  
a PHY that supports the GMII interface.  In this case, we would  
specify that the controller is connecting to its PHY over interface- 
type "mii".  The real issue (right now) would be an RGMII or SGMII  
connection for a non-gigabit controller.

However, the UCC doesn't currently support SGMII, and there aren't  
any implementations that have non-gigabit RGMII connections.

In other words, this could become an issue in the future, but we're  
punting on pushing through a specifier for that situation until it  
comes up.

Andy



More information about the Linuxppc-dev mailing list