Hi, all,
I am using rtlinux2.2 with kernel 2.2.14. I tried to add rtfifo in the
NI6024 PCI board driver. But when I try to "make config", the error turns
out to be segmentation fault. Actually, this driver doesn't include any
real-time feature, but I still add rtfifo in it for the purpose of
broadcasting interrupt from kernel to userspace. Below is the code I added
in the driver.
fifo_status = rtf_create(1, 100);
if(fifo_status){
DEBUG_PRINT(("COULD NOT CREATE RT_FIFO, fifo_status = %d\n", fifo_status));
}
else
DEBUG_PRINT(("SUCCESSFULLY CREATE RT_FIFO\n" ));
Any suggestion? Thank you in advance.
Xu
-- [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/