diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-04-29 04:19:36 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-29 20:32:36 -0400 |
commit | af2a3eac2fe6a6d8e9fdf6927284b34466a7d808 (patch) | |
tree | 7ccb5fd4ab0b81a46535e251cb7a151efa0c39f8 /include/linux/mdio.h | |
parent | a8c30832b5b12e5d4e9d1c20cdac3cc2880e08b8 (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.h | 3 |
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); | |||
279 | extern void mdio45_ethtool_gset_npage(const struct mdio_if_info *mdio, | 279 | extern 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); |
282 | extern void | ||
283 | mdio45_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 |