android_kernel_xiaomi_sm8350/drivers/net/phy
Shan Lu 024a0a3cfb 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 <shanlu@cs.uiuc.edu>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-04-28 11:00:57 -04:00
..
broadcom.c
cicada.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
davicom.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
fixed.c PHY: remove rwsem use from phy core 2007-04-27 10:57:31 -07:00
Kconfig
lxt.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
Makefile
marvell.c phylib: Add support for Marvell 88e1111S and 88e1145 2007-02-17 15:16:08 -05:00
mdio_bus.c phy layer: add kernel-doc + DocBook 2007-04-28 11:00:57 -04:00
phy_device.c phy layer: add kernel-doc + DocBook 2007-04-28 11:00:57 -04:00
phy.c network: add the missing phy_device speed information to phy_mii_ioctl 2007-04-28 11:00:57 -04:00
qsemi.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
smsc.c
vitesse.c