direct access to register

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 )

Reply to
Akeu
Loading thread data ...

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
 Click to see the full signature
Reply to
Tauno Voipio

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

-Matt

Reply to
Matt Porter

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.