lkml.org 
[lkml]   [1996]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: Atomic test and set patches (was Re: ppp and other problems)
Date
I forgot to mention that the patch was relative to something
close to 2.0.14. Additionally, I've since found the following.


r~

--- linux/drivers/net/slip.c Sat Aug 31 22:43:50 1996
+++ linux-mine/drivers/net/slip.c Sat Aug 31 22:29:45 1996
@@ -1381,7 +1381,7 @@
unsigned char s = END;
#endif
/* put END into tty queue. Is it right ??? */
- if (!test_bit(0, (void *) &sl->dev->tbusy))
+ if (!sl->dev->tbusy)
{
/* if device busy no outfill */
sl->tty->driver.write(sl->tty, 0, &s, 1);
--- linux/drivers/net/eexpress.c Sat Aug 31 22:43:50 1996
+++ linux-mine/drivers/net/eexpress.c Sat Aug 31 22:30:10 1996
@@ -856,7 +856,7 @@
unsigned short tx_block = lp->tx_reap;
unsigned short status;

- if (!test_bit(0,(void *)&dev->tbusy) && lp->tx_head==lp->tx_reap)
+ if (!dev->tbusy && lp->tx_head==lp->tx_reap)
return 0x0000;

do
\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.036 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site