PPC kernel hangs
Jon Masters
jonathan at jonmasters.org
Thu Oct 14 04:00:20 EST 2004
On Tue, Oct 12, 2004 at 04:34:32PM -0700, Eugene Surovegin wrote:
> 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.
I realised that after I said it, old habbit.
Jon.
More information about the Linuxppc-embedded
mailing list