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)
commit6a7a1081cebacc454588a0ba448eda6bd498e709
tree32f6eef8d2928a69b6977876575f2af6033e4023
parentaf440a8aed3d88a39f26b13de26b30c36189d994
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