Opened 14 years ago

Last modified 13 years ago

#187 closed enhancement

Driver for NE2000 network card clone — at Version 7

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
Possible mentors
HelenOS Core Team, Jakub Jermar

Change History (7)

comment:1 by Jakub Jermář, 14 years ago

Description: modified (diff)

comment:2 by Jakub Jermář, 14 years ago

Description: modified (diff)

comment:3 by Jakub Jermář, 14 years ago

Description: modified (diff)

comment:4 by Jakub Jermář, 14 years ago

Description: modified (diff)

comment:5 by Jakub Jermář, 14 years ago

Summary: Driver for NE2000 cloneDriver for NE2000 network card clone

comment:6 by Jakub Jermář, 14 years ago

Description: modified (diff)

comment:7 by Jakub Jermář, 14 years ago

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