On Thu, 21 Feb 2008 22:50:54 +0900 (JST)
Atsushi Nemoto [off-list ref] wrote:
quoted hunk
Fix NCFGR.SPD setting on 10Mbps. This bug was introduced by
conversion to generic PHY layer in kernel 2.6.23.
Signed-off-by: Atsushi Nemoto <redacted>
---
I have to admit that even after looking through include/linux/phy.h and
include/linux/mii.h, I don't have the faintest idea what values we can
expect to find in the "speed" field of phydev. The comment above struct
phy_device says that it is used "like in mii_if_info", but struct
mii_if_info doesn't have a "speed" field...
I'm willing to take your word for it, but some documentation would be
really nice...
Haavard
On Thu, 21 Feb 2008 15:12:46 +0100, Haavard Skinnemoen [off-list ref] wrote:
I have to admit that even after looking through include/linux/phy.h and
include/linux/mii.h, I don't have the faintest idea what values we can
expect to find in the "speed" field of phydev. The comment above struct
phy_device says that it is used "like in mii_if_info", but struct
mii_if_info doesn't have a "speed" field...
I'm willing to take your word for it, but some documentation would be
really nice...
Excuse me for sending broken mail...
On Thu, 21 Feb 2008 15:12:46 +0100, Haavard Skinnemoen [off-list ref] wrote:
I have to admit that even after looking through include/linux/phy.h and
include/linux/mii.h, I don't have the faintest idea what values we can
expect to find in the "speed" field of phydev. The comment above struct
phy_device says that it is used "like in mii_if_info", but struct
mii_if_info doesn't have a "speed" field...
I'm willing to take your word for it, but some documentation would be
really nice...
Well, simple grepping drivers/net/phy enlighten us ;)
Anyway, this patch fixes problem with 10Mbps on AT91SAM9260 board.
---
Atsushi Nemoto