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)
commit179584388d7286190dfd9d2a248e25e1ffdfd472
treef3af89abee1feb269df6d92ad222ce0caa0f3307
parenta4d3de0d5fdf4393577ab8e2c7b7ebf6504bbb66
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