Re: isa_read/write not available on ppc - solution suggestions ??

From: Geert Uytterhoeven (geert@linux-m68k.org)
Date: Tue May 01 2001 - 12:33:09 EST


On Tue, 1 May 2001 mike_phillips@urscorp.com wrote:
> To get the pcmcia ibmtr driver (ibmtr/ibmtr_cs) working on ppc, all the
> isa_read/write's have to be changed to regular read/write due to the lack
> of the isa_read/write functions for ppc.
>
> So, the question is should I simply:
>
> a) change everything to read/write and friends (the way the driver used to
> be before the isa_read/write function were introduced)
> b) Put ugly macros in the driver to use the different functions depending
> upon architecture.
> c) Implement the isa_read/write functions for ppc ?
> or d) something completely different I haven't thought of.

Please go for option c.

Also note that ISA memory space is not available on all PPC platforms.

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

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



This archive was generated by hypermail 2b29 : Mon May 07 2001 - 21:00:10 EST