lkml.org 
[lkml]   [1998]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: XT hard disk support
Date
> 
>
> Hi,
>
> linux-2.1.93:
>
> any1 tried to compile "XT harddisk support" as module ? I don't think
> it will succeed! Anyway in drivers/block/xd.c:

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

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