patch-2.2.0-pre7 linux/drivers/net/hp100.c

Next file: linux/drivers/net/tulip.c
Previous file: linux/drivers/net/epic100.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre6/linux/drivers/net/hp100.c linux/drivers/net/hp100.c
@@ -2798,7 +2798,7 @@
     if ( hp100_inb( VG_LAN_CFG_1 ) & HP100_LINK_CABLE_ST ) break;
   } while (time_after(time, jiffies));
 
-  if ( time_before_eq(jiffies, time) )       /* no signal->no logout */
+  if ( time_after_eq(jiffies, time) )       /* no signal->no logout */
     return 0;
 
   /* Drop the VG Link by clearing the link up cmd and load addr.*/
@@ -2813,7 +2813,7 @@
   } while(time_after(time, jiffies));
 
 #ifdef HP100_DEBUG
-  if (time_before_eq(jiffies, time))
+  if (time_after_eq(jiffies, time))
     printk("hp100: %s: down_vg_link: Link does not go down?\n", dev->name);
 #endif
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov