Skip to contentSkip to conversation

ioremapping pci mem window points to same location

DISCUSSION atul srivastava 1 participant 1 message Oct 10, 2002 MIPS

lore
Share & tools
lore
#0 lore raw

Hello,

in asm-mips/io.h
ioremap() just mask the first three bits then add the KSEG offset. [ (address & 0x1fffffff) + KSEG ]

suppose my pci bridge provides two memory windows
physical 40000000 to 40ffffff and
physical 60000000 to 60ffffff

doesn't after iorremapping addresses in above two ranges
will point to same location after applying mathematics
of ioremap() ..how i will take care of this ..should i use only one window at a time.

Best Regards,
Ashish
__________________________________________________________
Give your Company an email address like
ravi @ ravi-exports.com. Sign up for Rediffmail Pro today! Know more. http://www.rediffmailpro.com/signup/