patch-2.1.37 linux/drivers/net/sunhme.c
Next file: linux/drivers/net/sunlance.c
Previous file: linux/drivers/net/strip.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon May 12 10:35:41 1997
- Orig file:
v2.1.36/linux/drivers/net/sunhme.c
- Orig date:
Wed Apr 23 19:01:20 1997
diff -u --recursive --new-file v2.1.36/linux/drivers/net/sunhme.c linux/drivers/net/sunhme.c
@@ -1898,7 +1898,7 @@
}
}
- if(set_bit(0, (void *) &dev->tbusy) != 0) {
+ if(test_and_set_bit(0, (void *) &dev->tbusy) != 0) {
printk("happy meal: Transmitter access conflict.\n");
return 1;
}
@@ -1955,7 +1955,7 @@
return 0;
}
- if(set_bit(0, (void *) &dev->tbusy) != 0) {
+ if(test_and_set_bit(0, (void *) &dev->tbusy) != 0) {
printk("happy meal: Transmitter access conflict.\n");
return 1;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov