Re: isa_memcpy_fromio
From: Randy.Dunlap
Date: Sun Jul 02 2006 - 12:02:58 EST
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/