]> git.baikalelectronics.ru Git - kernel.git/commit
ethtool: Update documentation of struct ethtool_pauseparam
authorBen Hutchings <ben@decadent.org.uk>
Wed, 12 Feb 2014 22:14:28 +0000 (22:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Feb 2014 22:33:02 +0000 (17:33 -0500)
commit56b97222baa69bdea0074546126daab09da02e07
tree32f6eef8d2928a69b6977876575f2af6033e4023
parentd345e6d06ac3f1cfdffb09223643a1c90d5f66bd
ethtool: Update documentation of struct ethtool_pauseparam

Convert the inline comments to kernel-doc format.

Explicitly specify that non-zero autoneg is an error if link
autonegotiation is disabled.

Specify that pause capabilities should be advertised dependent on link
autonegotiation, not the autoneg flag here.  There is no way to
opt-out of pause frame autonegotiation, and this improves behaviour
when the link partner is configured to follow pause frame
autonegotiation and our interface is not.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/ethtool.h