13 Oct, 2009
2 commits
-
In mdio45_ethtool_gset_npage() and mdio45_ethtool_gset(), check MDIO
pause frame advertising flags and set the corresponding ethtool flags.Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller -
Currently, if pause autoneg is off we do not set either pause
advertising flag. If autonegotiation of speed and duplex settings is
enabled, there is no way for the link partner to distinguish this from
our refusing to use pause frames.We should instead set the advertising flags according to the forced
mode so that the link partner can follow our lead. This is consistent
with the behaviour of other drivers.Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller
04 Sep, 2009
1 commit
-
dev_ioctl() already checks capable(CAP_NET_ADMIN) before calling the
driver's implementation of MDIO ioctls.Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller
27 Aug, 2009
1 commit
-
Some PHYs will report that the link is up even though there is a fault
condition. Therefore, check the fault flag too. We must also read
STAT2 to reset this flag.Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller
26 Jun, 2009
1 commit
-
Add missing GPL flag and description.
mdio: module license 'unspecified' taints kernel.
Disabling lock debugging due to kernel taintSigned-off-by: Nicolas Reinecke das-labor.org>
Acked-by: Ben Hutchings
Signed-off-by: David S. Miller
11 Jun, 2009
1 commit
-
This is available in a standard MDIO register in 10GBASE-T PHYs.
Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller
30 Apr, 2009
4 commits
-
Compile-tested only.
Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller -
Add mdio_support and lp_advertising fields to ethtool_cmd. Set these
in mdio45_ethtool_gset{,_npage}().Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller -
This implements the ETHTOOL_SPAUSEPARAM operation for MDIO (clause 45)
PHYs with auto-negotiation MMDs.Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller -
These roughly mirror many of the MII library functions and are based
on code from the sfc driver.Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller