Re: addresses supplied with read*/write*

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

 





On 6/22/07, Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:
On Fri, 2007-06-22 at 15:45 +0200, Devvrat Tripathi wrote:
>  When a driver does read*/write* is the address supplied the the
> argument from the address range of the device mentioned in proc/iomem.

actually, the addresses are the return value of ioremap()!
anything else is a bug in your driver(s)

in that case if i do a virt_to_phys on that address will it give me the ones in /proc/iomem?

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux