Thread (2 messages) flat view 2 messages, 2 authors, 2001-05-01

Re: placing of ioremap ?

From: Dan Malek <hidden>
Date: 2001-05-01 19:33:31

ashish anand wrote:
I have one question regarding the placing of ioremap call
suppose i have done ioremap call inside the mm/init.c
for pci i/o or memory space
Well, you really shouldn't.......The PCI I/O space could be
done there so the usual inb/outb and friends work.  PCI memory
space should not be mapped there, it is done by the driver.
in case my bios has not done the resource allocation
i have to just write the proper values in PCI_BASE_ADDRESS
registers of that pci card. Am I Correct?
You should include the Linux PCI auto config function.  It will
do this plus properly assign the interrupts.


	-- 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