netdev
[Top] [All Lists]

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

To: Brian Gerst <bgerst@xxxxxxxxxxxxx>
Subject: Re: isa_read/write not available on ppc - solution suggestions ??
From: mike_phillips@xxxxxxxxxxx
Date: Tue, 1 May 2001 11:27:31 -0400
Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
Sender: owner-netdev@xxxxxxxxxxx
>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.

> Treat it like a PCI device and use ioremap().  Then change isa_readl()
> to readl() etc.

Bleurgh, the latest version of the driver (not in the kernel yet) searches 
for turbo based cards by checking the isa address space from 0xc0000 - 
0xe0000 in 8k chunks. So we'd have to ioremap each 8k section, check it, 
find out the adapter isn't there and then iounmap it. 

Oh well, if that's what it takes =:0

Mike


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