> Hi,
> 1. Is it possible to write a single PCI I/O driver module that can
be
> accessible from user or kernel space ? 

Yes. This have been done in the CanFestival (a CANOpen suite) in the
ArbraCan driver  (a driver for the PCI-7841 adlink dual sja100 can
board). This driver can be used from RT space (ie kernel space)
through the POSIXIO interface provided with RTLinux, and can be
accessed from user space through standard linux devices.
(www.esstin.uhp-nancy.fr/~tissered/CanFestival)
Be aware that this kind of multiple access require strong exclusion
mechanisms. Read arbracan.c.

> 2. on the PCI board, I use , I would like to remap I/O pci to have
> direct memory access from user space programs directly.
> is it possible and how ?

Have a look to a driver providing mmap facilities, such as the bttv
one. 
Maybe should you have a look on how XFree act to drive your video card
from user space. (ie have a look to /dev/mem and /dev/kmem)
Is that usefull for your RT app (not very determinist)? 

> Best regards
> S.a.

Pareil vieille branche ;-)
Edouard

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to