outb_p(0xc, 0x3f2) with _IO_BASE remapped!

Dan Malek dan at mvista.com
Tue Oct 17 07:16:38 EST 2000


Paolo Scaffardi wrote:
>
> I discovered that my kernel hangs into 'drivers/block/ll_rw_blk.c', in
> function 'blk_dev_init', at the instruction outb_p(0xc, 0x3f2),

Hmmm...There should be an #ifdef around that to ensure it isn't done
on PowerPC platforms.  In later kernels, it is just #ifdef CONFIG_x86.
What kernel are you using?

> This is really a problem to me... i need to remap _IO_BASE to use
> m8xx_pcmcia!

Well, this is a specific example of a bunch of ranting I did recently
on the linuxppc-dev list about providing a much better I/O interface
(it was a PCI discussion, but would have fixed all of this too).
Unfortunately, for embedded systems it looks like we are just going
to have to hack code privately to get the configurations we need.
There are lots of mapping challenges because of implied address maps
that appear on workstations.  We will get there.....

> - may the pinguin b with u -

...and also with you...


	-- Dan

--

	I like MMUs because I don't have a real life.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list