On Wed, Jan 10, 2007 at 10:10:14AM +0530, Rajat Jain wrote: > AFAIK, IO regions do not need to be mapped into virtual address space. > The IO port addresses are in a different 16 bit address space al > together, very very diferent from the normal 32 bit virtual memory > address space. The IO port addresses can be used directly using inb() > /outb(), but ofcourse you need to request_region() firstly. You're describing the x86 architecture which is one of the few architectures that has a separate IO address space. For architectures without a separate IO address space the PCI IO address space is mapped into memory address space and accessing it needs some support from the architecture specific code. Erik -- They're all fools. Don't worry. Darwin may be slow, but he'll eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
Attachment:
signature.asc
Description: Digital signature