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

Brad Boyer
2021-06-04T23:09:23Z

On Fri, Jun 04, 2021 at 07:30:00PM +1200, Michael Schmitz wrote:
> >>I'm still unsure whether changing the default branch for the sake of
> >>fixing Atari behaviour is a sane idea - I was hoping for comments either
> >>way.
> >>
> >
> >You mean, what happens if a random m68k platform (other than amiga, atari
> >and q40) were to adopt CONFIG_ISA? I guess it would be nice if that would
> >'just work' but it's probably never going to be needed.
>
> The NULL default was meant to catch incorrect use of config options related
> to CONFIG_ISA. My repurposing the default branch for Atari's needs (no
> translation for IDE) defeats that. But the chance that we run into such
> incorrect use in the future are pretty slim indeed.

Well, we could in theory add a trex socket driver to get PCMCIA support
for the PowerBook 190 hardware. There was a driver for that in ppc for
the PowerBook 5300 which uses the same chipset. I believe the PCMCIA
drivers use these same macros in spite of not being considered ISA.
I don't see anything in drivers/pcmcia that is obviously an m68k
system even though I'm pretty sure I remember discussions of supporting
such hardware in the past.

Is PCMCIA support something we should also consider in all of this?

Brad Boyer
flar@allandria.com