Re: [PATCH RFC 1/2] m68k: io_mm.h: conditionalize ISA address translation on Atari

Michael Schmitz
2021-06-05T22:05:33Z

Hi Brad,

Am 05.06.2021 um 18:04 schrieb Brad Boyer:
>>
>> Not sure what card socket code the APNE driver uses - must be one of the
>> generic variants from drivers/pcmcia. If your PB190 needs something not
>> already in there, we'd need to add that as well.
>
> I had to look a bit, but I found it. The apne driver doesn't use the
> normal PCMCIA infrastructure at all. There is a custom Amiga PCMCIA
> thing found in arch/m68k/amiga/pcmcia.c. This could complicate things
> if we are able to use the common PCMCIA code for trex and try to
> build a kernel with both that and amiga/pcmcia + apne.

Thanks, I had missed that one.

> At least it does sound like the io macros won't be an issue.

The arch/m68k/amiga/pcmcia.c API is different from that of the drivers
in drivers/pcmcia/ from what I've seen, so I think adding or reusing
trex support together with Amiga PCMCIA support will be an issue.

Cheers,

Michael

>
> Brad Boyer
> flar@allandria.com
>