aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mdio.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-04-29 04:19:36 -0400
committerDavid S. Miller <davem@davemloft.net>2009-04-29 20:32:36 -0400
commitaf2a3eac2fe6a6d8e9fdf6927284b34466a7d808 (patch)
tree7ccb5fd4ab0b81a46535e251cb7a151efa0c39f8 /include/linux/mdio.h
parenta8c30832b5b12e5d4e9d1c20cdac3cc2880e08b8 (diff)
mdio: Add mdio45_ethtool_spauseparam_an()
This implements the ETHTOOL_SPAUSEPARAM operation for MDIO (clause 45) PHYs with auto-negotiation MMDs. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mdio.h')
-rw-r--r--include/linux/mdio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mdio.h b/include/linux/mdio.h
index ba41537eaa8a..5645c0f863dc 100644
--- a/include/linux/mdio.h
+++ b/include/linux/mdio.h
@@ -279,6 +279,9 @@ extern int mdio45_nway_restart(const struct mdio_if_info *mdio);
279extern void mdio45_ethtool_gset_npage(const struct mdio_if_info *mdio, 279extern void mdio45_ethtool_gset_npage(const struct mdio_if_info *mdio,
280 struct ethtool_cmd *ecmd, 280 struct ethtool_cmd *ecmd,
281 u32 npage_adv, u32 npage_lpa); 281 u32 npage_adv, u32 npage_lpa);
282extern void
283mdio45_ethtool_spauseparam_an(const struct mdio_if_info *mdio,
284 const struct ethtool_pauseparam *ecmd);
282 285
283/** 286/**
284 * mdio45_ethtool_gset - get settings for ETHTOOL_GSET 287 * mdio45_ethtool_gset - get settings for ETHTOOL_GSET