Re: [PATCH] de2104x: fix ethtool

From: Jeff Garzik
Date: Mon Sep 27 2010 - 18:06:08 EST


On 09/27/2010 05:41 PM, Ondrej Zary wrote:
When the interface is up, using ethtool breaks it because:
a) link is put down but media_timer interval is not shortened to NO_LINK
b) rxtx is stopped but not restarted

Also manual 10baseT-HD (and probably FD too - untested) mode does not work -
the link is forced up, packets are transmitted but nothing is received.
Changing CSR14 value to match documentation (not disabling link check) fixes this.

Signed-off-by: Ondrej Zary<linux@xxxxxxxxxxxxxxxxxxxx>

Acked-by: Jeff Garzik <jgarzik@xxxxxxxxxx>

Good catch on the missing de_start_rxtx()


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/