Re: [PATCH] m68k/mac: Replace macide driver with generic platform driver
From: Finn Thain
Date: Mon Apr 26 2021 - 23:47:04 EST
On Tue, 27 Apr 2021, Michael Schmitz wrote:
> On 26/04/21 7:37 pm, Finn Thain wrote:
> > Was macide the only IDE driver in Debian/m68k kernels without a libata
> > alternative? If so, this patch would allow you to finally drop
> > CONFIG_IDE.
> >
> There's still q40ide.c (ISA IDE interface, byte-swapped, so would need
> treatment similar to Falcon IDE). Hasn't been updated to a platform
> device yet.
>
AIUI, q40 support is not included in Debian/m68k kernel builds.
I wonder whether q40 could re-use the pata_falcon driver . I suppose
pata_falcon_set_mode() would be undesirable on q40 (?) It could be made
optional using the data parameter passed to
platform_device_register_resndata().