|
@@ -14114,12 +14114,12 @@ static int tg3_change_mtu(struct net_device *dev, int new_mtu)
|
|
|
|
|
|
tg3_netif_stop(tp);
|
|
tg3_netif_stop(tp);
|
|
|
|
|
|
|
|
+ tg3_set_mtu(dev, tp, new_mtu);
|
|
|
|
+
|
|
tg3_full_lock(tp, 1);
|
|
tg3_full_lock(tp, 1);
|
|
|
|
|
|
tg3_halt(tp, RESET_KIND_SHUTDOWN, 1);
|
|
tg3_halt(tp, RESET_KIND_SHUTDOWN, 1);
|
|
|
|
|
|
- tg3_set_mtu(dev, tp, new_mtu);
|
|
|
|
-
|
|
|
|
/* Reset PHY, otherwise the read DMA engine will be in a mode that
|
|
/* Reset PHY, otherwise the read DMA engine will be in a mode that
|
|
* breaks all requests to 256 bytes.
|
|
* breaks all requests to 256 bytes.
|
|
*/
|
|
*/
|