mdio: Expose pause frame advertising flags to ethtool
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 12 Oct 2009 09:26:37 +0000 (09:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2009 06:59:08 +0000 (23:59 -0700)
commit27fbc7db52315d6ec37fe3292c1b2ee62180c643
treeff928d967066b26d183d25e07e172296b5638cc0
parent767f4a7ca8041442e033dd919b591d00f6901e03
mdio: Expose pause frame advertising flags to ethtool

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 <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mdio.c