Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17958438 authored by François Cachereul's avatar François Cachereul Committed by David S. Miller
Browse files

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: default avatarFrançois Cachereul <f.cachereul@alphalink.fr>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a4d3de0d
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1349,7 +1349,8 @@ static void rhine_set_carrier(struct mii_if_info *mii)
		/* autoneg is off: Link is always assumed to be up */
		if (!netif_carrier_ok(dev))
			netif_carrier_on(dev);
	} else	/* Let MMI library update carrier status */
	}

	rhine_check_media(dev, 0);

	netif_info(rp, link, dev, "force_media %d, carrier %d\n",