Re: [RFC PATCH] pata_parport: paride replacement
From: Ondrej Zary
Date: Sun Mar 06 2022 - 05:36:44 EST
On Sunday 06 March 2022 09:58:25 Christoph Hellwig wrote:
> Hi Ondrej,
>
> I just took a quick glance and it seems like the actual protocol
> modules still are basically almost exactly the same ones as the
> paride ones. Is there a way to just keep the existing modules?
>
> The only big thing I noticed is the host template, but at least
> for the transitional periode we could probably allocate that
> dynamically in the core. I think would reduce the amount of code
> churn nicely and make review much easier.
Yes, only small changes in the protocol modules regarding (un)registration.
Getting the original modules work with pata_parport (like in 1st preview) required some hacks that break paride (disabling EXPORT_SYMBOLs in paride).
Maybe the protocol modules can be moved (git mv) from paride and then patched? A copy would be better but there's no "git cp".
--
Ondrej Zary