Maryam
> - Mr Phil Wilshire told us later in the news group that he will give
> some directions for writing a driver , did you by anychance had the time
> for that?
> If you give some dirctions it will be great for many people, specially
> new comers like me :)
I find such a polite request difficult to refuse.
Sorry to have stated that I would help more with the driver.
Normally I can only get time to tackle small snippets of problems.
There are a number of other poeple in the group tackling this.
My time is really limited but I will help if I can.
Lets see what you have got so far.
The network driver would have to be a module.
It would have to be loaded After the RTL modules.
This means that you would have to load the RTL modules in rc.sysinit or
simular before the
rc.d stuff is triggered.
My advice to you would be to experiment with the driver for a second
ethernet card.
Make the driver a manually loaded module and then play with it like a
regular
rt task.
Once some of it seems to work OK then you should be able to set up
/etc/sysconfig/network-scripts/ifcfg-eth1 and then do a
/etc/sysconfig/network-scripts/ifup eth1 to make the card work.
Again do this all manually. Once this is working tackle the problem of
the start up procedure.
In fact start of by doing this without any changes to the driver.
Get the second card working.
You'll need to add some static routes etc.
Then start using some RT calls to replace the "normal" calls.
You'll have to make sure that no kmallocs or kfrees are called within
the RT IRQ.
task.
I'll see If I can put a test system together to play with this.
No promises though.
Regards
Phil Wilshire
--- [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/~rtlinux/