Re: XT hard disk support

Andrzej Krzysztofowicz (ankry@idk.com.pl)
Tue, 7 Apr 1998 17:19:11 +0200 (MET DST)


>
>
> 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