★ wanayoo — archive 1999 http://www.kernelnotes.org/patch/21-p0520.htmlNouvelle recherche | Portail wanayoo

3c59x Ethernet Update for 2.1.4x

Willem Riede (wriede@monmouth.com)
Sat May 31 22:25:00 1997

[Home] [Linux 2.0] [Linux 2.1] [Information] [Software] [Distributions] [Links]

21-3c59x-fix-40.patch
> I was trying to upgrade to 2.1.40 (from 2.1.32) and ran into trouble
> compiling the ethernet boomerang driver 3c59x.c:
> ("3c900.c:v0.39 4/1/97 becker@cesdis.gsfc.nasa.gov\n")
>
> It uses set_bit from  and uses the result value.
>
> Kernel 2.1.37 changed the definition of set_bit to return void rather than int.
>
> This breaks 3c59x.c :-(
>

I received the advice to substitute set_bit by test_and_set_bit. That leads to the attached patch, and it seems to work fine so far.




[Home] [Up] [Search] [FeedBack]

Copyleft © The LinuxHQ Project. Licensed under the GNU Public License.