Hi,
[openwrt.git] / target / linux / ar7 / patches-2.6.25 / 900-temporary_cpmac_hack.diff
1 --- a/drivers/net/cpmac.c
2 +++ b/drivers/net/cpmac.c
3 @@ -947,7 +947,8 @@
4 int new_state = 0;
5
6 spin_lock(&priv->lock);
7 - if (priv->phy->link) {
8 + if (1 /* priv->phy->link */) {
9 + netif_carrier_on(dev);
10 netif_start_queue(dev);
11 if (priv->phy->duplex != priv->oldduplex) {
12 new_state = 1;
13 @@ -959,11 +960,11 @@
14 priv->oldspeed = priv->phy->speed;
15 }
16
17 - if (!priv->oldlink) {
18 + /*if (!priv->oldlink) {
19 new_state = 1;
20 - priv->oldlink = 1;
21 + priv->oldlink = 1;*/
22 netif_schedule(dev);
23 - }
24 + /*}*/
25 } else if (priv->oldlink) {
26 netif_stop_queue(dev);
27 new_state = 1;
This page took 0.038025 seconds and 5 git commands to generate.