Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 13 years ago

Last modified 12 years ago

#187 closed enhancement

Driver for NE2000 network card clone — at Version 6

Reported by: Jakub Jermář Owned by:
Priority: major Milestone: 0.4.3
Component: helenos/net/other Version: mainline
Keywords: gsoc10 Cc:
Blocker for: Depends on:
See also:

Description (last modified by Jakub Jermář)

Implement a native HelenOS driver for one or more clones of NE2000 network interface card.

Details
The new driver should be realized as a module which plugs itself into the HelenOS networking stack and implements the network interface card interface in the NE2000 specific way.

As the various NE2000 clones are expected to be quite similar, the driver should be NE2000-generic when possible in order to support a greater scale of NE2000-based network interface cards.

What Gains and Benefits will this bring?
The HelenOS networking stack actually comes with a driver for a NE2000 clone borrowed from MINIX 3 which was adjusted to compile on HelenOS. The problem of the MINIX 3 driver though is that it was not written with 64-bits in mind. This is not a problem on a 32-bit MINIX 3, but is a problem on a multiplatform 64-bit system such as HelenOS. The MINIX 3 also has a different view on how to do I/O with the device, so mixing the MINIX 3 and HelenOS code results in a somewhat bizarre hybrid. Needless to say, a clean native implementation is much better than a whimsical hybrid.

The clone supported by the MINIX 3 driver is dp8390. For HelenOS, this is an important network interface card thanks to its large incidence in the real world and also in various simulators such as Qemu. As of now, it is the only NIC supported by HelenOS besides the loopback device.

Difficulty
As the NE2000 clones do not require DMA to be used and can be controlled using PIO (programmed I/O), this project is easier than the other projects for implementing a network card driver. The kernel already provides all building blocks required to communicate with an NE2000 from userspace. Thus the project has the medium difficulty.
Required skills
A successful applicant will have good skills of programming in the C language and the ability to learn and use HelenOS specific I/O functions. A successful applicant should have a fair understanding of the workings of the networking stack too.
Documentation

Change History (6)

comment:1 Changed 13 years ago by Jakub Jermář

Description: modified (diff)

comment:2 Changed 13 years ago by Jakub Jermář

Description: modified (diff)

comment:3 Changed 13 years ago by Jakub Jermář

Description: modified (diff)

comment:4 Changed 13 years ago by Jakub Jermář

Description: modified (diff)

comment:5 Changed 13 years ago by Jakub Jermář

Summary: Driver for NE2000 cloneDriver for NE2000 network card clone

comment:6 Changed 13 years ago by Jakub Jermář

Description: modified (diff)
Note: See TracTickets for help on using tickets.