I use this code with 2.1.8x and it works for me.
>
> static int xd[5] = { -1,-1,-1,-1, };
>
> seems to be incorrect (and defined on an incorrect place)...
Why do you think so?
It is needed only by init_module() which passes it to xd_setup().
xd_setup() sets other variables to apropriate values.
xd[] shuoldn't be used elsewhere.
Regards
-- ======================================================================= Andrzej M. Krzysztofowicz ankry@mif.pg.gda.pl phone: (48)(58) 347 14 61 fax: (48)(58) 347 28 21 Faculty of Applied Phys.& Maths, Technical University of Gdansk, Poland
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu