lkml.org 
[lkml]   [1997]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectSmall isdn patch for 2.1.40
Hi. I do not know whether this has already been posted - there has been a
long kernel list blackout here...

I switched my isdn machine from 2.1.36 to 2.1.40 and I needed to apply
this small patch to drivers/isdn/isdn_net.c:

--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--

--- isdn_net.c~ Fri May 23 10:52:00 1997
+++ isdn_net.c Fri May 23 11:49:29 1997
@@ -374,7 +374,7 @@
return 1;
}
}
- if (clear_bit(0, (void *) &(p->dev.tbusy)))
+ if (test_and_clear_bit(0, (void *) &(p->dev.tbusy)))
mark_bh(NET_BH);
}
return 1;

--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--
Gcc gave me an error, complainig about something like not being able to
change a variable declared null... Should have written down the message, I
know... Anyway, I went to look at the latest patches and found lots
of patches similar to the one above. after patching the file compiled
OK, and the new kernel is up and running.

Ciao
Carlo

--
* ...Ma appena fuori tutto e' gomma,
* K * Carlo E. Prelz - fluido@marktest.pt tutto e' cicca impiastricciata...
* (Marco Zappa-Niente cicca nella scuola)


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