Small isdn patch for 2.1.40

Carlo E. Prelz (fluido@marktest.pt)
Fri, 23 May 1997 13:15:23 +0100 (WET DST)


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)