rtl8019.c File Reference

Driver for one RTL8019 network interface card, (or probably any other NE2000 compatible card). More...

#include <avr/io.h>
#include <avr/interrupt.h>
#include "nip_init.h"
#include "nip_types.h"
#include "dispatcher.h"
#include "net/net_if.h"
#include "net/ethernet.h"

Include dependency graph for rtl8019.c:

Go to the source code of this file.


Detailed Description

Driver for one RTL8019 network interface card, (or probably any other NE2000 compatible card).

The driver interface is designed to work with the nIP internet stack and relies on its special memory management.

Note:
This driver is written to be used with just one NIC at a time but may be adapted easily to work with several cards simulaneously. For that the static configuration of the address and data ports, the interrupt and the MAC address would have to be moved from rtl8019.h to a dynamically configurable space. Also the global rtl_net_if pointer variable will have to be moved locally into the driver functions and be resolved there using the function nip_net_if_ptr().

Definition in file rtl8019.c.


Generated on Thu Jul 10 01:09:59 2008 for NIP by  doxygen 1.5.5