summaryrefslogtreecommitdiff
path: root/drivers/block/brd.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-10-12 09:26:17 (GMT)
committerDavid S. Miller <davem@davemloft.net>2009-10-13 06:59:07 (GMT)
commit767f4a7ca8041442e033dd919b591d00f6901e03 (patch)
tree6bd88e69a3279f0b4a0d31a80eef58f3cd4bc5ba /drivers/block/brd.c
parentbe926fc4046913d9ad921aeacdf9329978241c38 (diff)
downloadlinux-fsl-qoriq-767f4a7ca8041442e033dd919b591d00f6901e03.tar.xz
mdio: Advertise pause (flow control) settings even if autoneg is off
Currently, if pause autoneg is off we do not set either pause advertising flag. If autonegotiation of speed and duplex settings is enabled, there is no way for the link partner to distinguish this from our refusing to use pause frames. We should instead set the advertising flags according to the forced mode so that the link partner can follow our lead. This is consistent with the behaviour of other drivers. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/block/brd.c')
0 files changed, 0 insertions, 0 deletions