aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tulip/21142.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/tulip/21142.c')
-rw-r--r--drivers/net/tulip/21142.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/tulip/21142.c b/drivers/net/tulip/21142.c
index db7d5e11855d..9f6742fad6ca 100644
--- a/drivers/net/tulip/21142.c
+++ b/drivers/net/tulip/21142.c
@@ -209,10 +209,10 @@ void t21142_lnk_change(struct net_device *dev, int csr5)
209 printk(KERN_DEBUG "%s: Setting CSR6 %8.8x/%x CSR12 %8.8x.\n", 209 printk(KERN_DEBUG "%s: Setting CSR6 %8.8x/%x CSR12 %8.8x.\n",
210 dev->name, tp->csr6, ioread32(ioaddr + CSR6), 210 dev->name, tp->csr6, ioread32(ioaddr + CSR6),
211 ioread32(ioaddr + CSR12)); 211 ioread32(ioaddr + CSR12));
212 } else if ((tp->nwayset && (csr5 & 0x08000000) 212 } else if ((tp->nwayset && (csr5 & 0x08000000) &&
213 && (dev->if_port == 3 || dev->if_port == 5) 213 (dev->if_port == 3 || dev->if_port == 5) &&
214 && (csr12 & 2) == 2) || 214 (csr12 & 2) == 2) ||
215 (tp->nway && (csr5 & (TPLnkFail)))) { 215 (tp->nway && (csr5 & (TPLnkFail)))) {
216 /* Link blew? Maybe restart NWay. */ 216 /* Link blew? Maybe restart NWay. */
217 del_timer_sync(&tp->timer); 217 del_timer_sync(&tp->timer);
218 t21142_start_nway(dev); 218 t21142_start_nway(dev);