NE2000

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Guest

NE2000

Post by Guest »

Hello, i want program a network driver. I have looked in QEMU source for network card emulation. I found that it supports NE2000. But i didnt find a driver source for NE2000. I started SolarOS on Qemu. It detected Qemu network card as Realtek 8029 / Ne2000 on IRQ 11. Is NE2000 & Realtek 8029 the same ? Pls help me.
DennisCGc

Re:NE2000

Post by DennisCGc »

Hi,

First, you shouldn't read other sources when you don't have the documentation.

Check these documents:
http://www.national.com/ds.cgi/DP/DP8390D.pdf
http://www.osdever.net/documents/Writin ... ?the_id=56

The first one is a reference, which you're going to need anyway.
The second one is written by National Semidoctor too, a document about how you could write drivers for them. Really handy, if you ask me ;)

Guest wrote: It detected Qemu network card as Realtek 8029 / Ne2000 on IRQ 11. Is NE2000 & Realtek 8029 the same ? Pls help me.
Yeah, The RTL8029 chip is NE2000 compatible in most ways. But it has also some extensions though (RTL8029AS).

HTH,

DennisCGc.
Dex4u

Re:NE2000

Post by Dex4u »

The second one is written by National Semidoctor too, a document about how you could write drivers for them. Really handy, if you ask me ;)
I agree DennisCGc, thanks for the link :).
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:NE2000

Post by Pype.Clicker »

http://www.osdev.org/osfaq2/index.php/ne2000 may be somehow helpful too, as well as http://www.osdev.org/osfaq2/index.php/O ... NickStacky

As explained there, NE2000 and RTL8xxx are not the same thing:
RTL80xx implementsNE2000.
DennisCGc

Re:NE2000

Post by DennisCGc »

Pype.Clicker wrote: As explained there, NE2000 and RTL8xxx are not the same thing:
RTL80xx implementsNE2000.
I did NOT say the NE2000 and the RTL8029 are the same. I said the RTL8029 is in most ways COMPATIBLE. (Oc, if it wasn't meant for me, I'll shut up ;) )
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:NE2000

Post by Pype.Clicker »

DennisCGc wrote: (Oc, if it wasn't meant for me, I'll shut up ;) )
wasn't meant for you ;)
Post Reply