Address mapping for pci driver

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

 



Title: Message
Hello,
 
I am writing a pci device driver in linux to talk to a modem module.  My driver code has detected the modem module using
 
         pci_find_device()
         startAddr = pci_resource_start(pciDev,i);
         flags     = pci_resource_flags(pciDev,i);
Now that I have the starting physical address of the pci device, do I have to use ioremap() on this physical address in order to talk to the device (in kernel space) ?  Can I talk the device using the detected physical address directly?
 
Thank you
 
Thanh

[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