[U-Boot] [PATCH v2 5/9] AVR32: macb - Disable 100mbps if clock is slow

Jean-Christophe PLAGNIOL-VILLARD
2009-01-28T23:34:19Z

>>
>>>
>>>>> This patch makes it possible to limit the macb to 10 MBit for this
>>>>> case. We are open for suggestions for other solutions.
>>>> I guest you may need to disable the phy auto config mode and force him to be
>>>> see as a 10Mbps phy evenif it's a 10/100
>>>>
>>> No need to disable autonegotiation -- you still want to select between
>>> half an full duplex, for example. But you'll need to limit the
>>> available options to the ones that actually work.
>>>
>> I do not mean the autoneg but to specify to the phy, if possible, to never
>> accept the 100Mps instead of do it in the code
>>
> That's basically why the advertise register is r/w, so you can limit
> autonegotiation through software and don't have to allocate pins for
> strapping.
I've some phy/switch here that have on option to put them in 10M mode without
have to manage it after even via the adverstise

I've just guess maybe the one on the board could allow it too
> I like it too. One of the common checkbox items, though: do any Atmel
> chips have more than one MACB, in which case this should be
> CONFIG_MACBx_ADVERTISE or something like that?
on at91 actually not

Best Regards,
J.