]> 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)
commit8dd59ebc403a1c813367e7d6864783e62caab5f7
tree32f6eef8d2928a69b6977876575f2af6033e4023
parente2ee9d8310d0cc59a4456fdbbf0ae8ab1b24146f
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