Re: modular IDE in 2.4.23

From: Bartlomiej Zolnierkiewicz
Date: Sun Nov 23 2003 - 16:35:46 EST


On Sunday 23 of November 2003 21:56, Alan Cox wrote:
> > Uh. Oh. 2.4.23 IDE changes are obscure... Modular IDE breakage is caused
> > by Alan's hotplug changes and is not easy to fix properly.
>
> The fixing is simply a matter of linkage ordering and function execution.
>
> Simple thought experiment
>
> Merge ide-probe into ide-core
> Export a symbol for the second initializer function if used modular
> Create a mini module that just invokes the exported function on init

Update ide_probe_module() for new name of probe module.

> You now have the same execution sequence but with the link problem removed.

Hmm, actually you are right. Sorry :-).

> > I would like to have these changes removed:
> > (a) they break modular IDE
> > (b) such changes should be first added to 2.6 and then backported to 2.4
> > (otherwise you are magically creating regression in 2.6)
>
> Its not my fault the 2.6 code is lagging badly, and I wrote the code

2.6 is not "lagging badly", this is a false statement.

> because people using laptops, and people using ATA and SATA for business
> expect basic functionality like hotplug to work. For most of them 2.6
> doesn't really matter and won't for another 6 months, but 2.4 matters right
> now.

I assume you will fix it 6 months from now in 2.6, right? :-)

--bart

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/