ioremapping pci mem window points to same location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux