aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorShan Lu <[email protected]>2007-03-06 02:42:03 -0800
committerJeff Garzik <[email protected]>2007-04-28 11:00:57 -0400
commit024a0a3cfb4c98cb3c6c81ec70672c6a925cf164 (patch)
tree1ae2ab2e5f558bf3a8844a1b28d6ecbc3796b35e /include/linux/debugobjects.h
parent2b272221ad3d5c686f1d5ffb3b3c8a45120ad765 (diff)
network: add the missing phy_device speed information to phy_mii_ioctl
Function `phy_mii_ioctl' returns physical device's information based on user requests. When requested to return the basic mode control register information (BMCR), the original implementation only returns the physical device's duplex information and forgets to return speed information, which should not be because BMCR register is used to hold both duplex and speed information. The patch checks the BMCR value against speed-related flags and fills the return structure's speed field accordingly. Signed-off-by: Shan <[email protected]> Cc: Jeff Garzik <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions