PPC kernel hangs

Eugene Surovegin ebs at ebshome.net
Wed Oct 13 09:34:32 EST 2004

On Wed, Oct 13, 2004 at 12:03:21AM +0100, Jon Masters wrote:
> On Tue, 12 Oct 2004 14:36:34 -0700, Eugene Surovegin <ebs at ebshome.net> wrote:
> > Did you use ioremap to get valid kernel virtual address for your
> > device registers? You generally cannot just use physical address to
> > access device from the device driver.
> Possibly also use io_block_mapping on ppc to map a block of IO memory
> before ioremapping.

Yes, this is possible but considered obsoleted and not-recommended way 
of accessing device registers.


More information about the Linuxppc-embedded mailing list