]> git.baikalelectronics.ru Git - kernel.git/commit
via-rhine: fix full-duplex with autoneg disable
authorFrançois Cachereul <f.cachereul@alphalink.fr>
Thu, 12 Jun 2014 10:11:25 +0000 (12:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jun 2014 17:31:10 +0000 (10:31 -0700)
commitabb23d8a18fb246f0f63fbc5da5576eb521cf22a
treef3af89abee1feb269df6d92ad222ce0caa0f3307
parent0029cc0d9c08c6eb1762ab88e894c4af3854b46f
via-rhine: fix full-duplex with autoneg disable

With some specific configuration (VT6105M on Soekris 5510 and depending
on the device at the other end), fragmented packets were not transmitted
when forcing 100 full-duplex with autoneg disable.

This fix now write full-duplex chips register when forcing full or
half-duplex not only when autoneg is enable.

Signed-off-by: François Cachereul <f.cachereul@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/via/via-rhine.c