direct access to register

Jan 17, 2005 2 Replies

Hello, How can i have a direct access to a register (isa or pci) in user mode without developp a module. for io bus isa i think it is "ioperm" ( but for PCI i know the real hard register address )


The PCI registers are so high in address space that the ioperm() call cannot grant access to them, you need a kernel mode driver.

Tauno Voipio tauno voipio (at) iki fi

In simple cases, one can simply mmap /dev/mem instead of writing a device specific kernel space driver (and mmap fop).

-Matt

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required