Thread (4 messages) 4 messages, 3 authors, 2003-01-27

Re: [PATCH] m8xx_setup.c and PCMCIA

flat view

From: Dan Malek <hidden>
Date: 2003-01-27 04:09:53

Paul Mackerras wrote:
I'm not really here, I'm on vacation, but anyway...
Me, too :-)

What it boils down to is that we have little choice (unless you want
to rewrite the pcmcia layer :) but to make inb/outb etc. do what the
pcmcia layer is expecting.  That's the reason for the _IO_BASE mapping
hacks.
I understand that, I was just concerned about why it was needed and the
way it was done in this patch.  The PCMCIA has been working quite well
for many people on the 8xx, so I'm hoping someone that has experience with
that can take a look at these changes and discuss them.

On processors like the 8xx where you have multiple, separate address
spaces that can be the targets of inb/outb, you have to be very careful
how you use the IO_BASE addresses and map those spaces.  Anyone making a
change that uses this raises a big red flag, because it usually "fixes"
one configuration and breaks everything else.

Thanks.


	-- Dan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help