netdev
[Top] [All Lists]

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

To: mike_phillips@xxxxxxxxxxx
Subject: Re: isa_read/write not available on ppc - solution suggestions ??
From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Date: Tue, 1 May 2001 19:33:09 +0200 (CEST)
Cc: Linux Kernel Development <linux-kernel@xxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx, Linux/PPC Development <linuxppc-dev@xxxxxxxxxxxxxxxxxx>
In-reply-to: <OFED368CB7.D5C74726-ON85256A3F.004547C6@urscorp.com>
Sender: owner-netdev@xxxxxxxxxxx
On Tue, 1 May 2001 mike_phillips@xxxxxxxxxxx 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@xxxxxxxxxxxxxx

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


<Prev in Thread] Current Thread [Next in Thread>