Re: isa_memcpy_fromio

Randy.Dunlap
2006-07-02T16:04:29Z

On Sun, 02 Jul 2006 11:04:31 +0100 Alan Cox wrote:

> Ar Sad, 2006-07-01 am 22:43 -0400, ysgrifennodd Stephen Clark:
> > Hello,
> >
> > what has isa_memcpy_fromio() changed to in kernel 2.6.17 from 2.6.16
>
> It was always meant as a transition interface (although it survived
> incredibly long). All code that uses the ioremap is unaffected: ie
>
> foo = ioremap(isa_addr, len);
> memcpy_fromio(foo + bar, buf, len2)

Stephen,
There were only 3 drivers in 2.6.16 that used isa_memcpy_fromio().
You can look at how they were changed for 2.6.17.

drivers/net/hp100.c and hp-plus.c
drivers/scsi/g_NCR5380.c

---
~Randy