Hi all,

I just thought I'd mention I have ne2000 support added to my own small
IP stack in another project and thought it might be useful for Prex.  
I remember some time in a post long ago someone mentioning they'd be
prepared to port an IP stack to Prex so long as someone else wrote 
a driver.  I started looking at which was the simplest driver in 
Linux (ne2k), then removed all the parts that aren't needed for 
the Qemu emulated version by inspecting the Qemu sources, also 
removed interrupt support so you have to poll it.

All I've tested is that I can use the driver to do DHCP query and get an 
IP address back from Qemu, there could be plenty of bugs, but it's 
certainly helping me with my work, so thought I'd share it here.

The driver is C++ but in a C style, see attachment at the bottom of
the page:
http://sites.google.com/site/bifferboard/Home/rtos/grub-configuration-on-floppy-disk

Hopefully it's a trivial job to convert to C.

best regards,
Biff.

PS:  Consider the code to be in the public domain!





      

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Prex-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/prex-devel

Reply via email to