#include <linux/module.h>
#include <linux/eisa.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/mm.h>
#include <asm/io.h>
#include "8390.h"
Go to the source code of this file.
#define DRV_NAME "ne3210" |
#define NE3210_ADDR0 0x00 /* 3 byte vendor prefix */ |
#define NE3210_ADDR1 0x00 |
#define NE3210_ADDR2 0x1b |
#define NE3210_CFG1 0xc84 /* NB: 0xc84 is also "reset" port. */ |
#define NE3210_CFG2 0xc90 |
#define NE3210_D_IRQ 0x08 |
#define NE3210_D_PROBE 0x01 |
#define NE3210_D_RX_PKT 0x02 |
#define NE3210_D_TX_PKT 0x04 |
#define NE3210_IO_EXTENT 0x20 |
#define NE3210_NIC_OFFSET 0x00 /* Hello, the 8390 is *here* */ |
#define NE3210_RESET_PORT 0xc84 |
#define NE3210_SA_PROM 0x16 /* Start of e'net addr. */ |
#define NE3210_START_PG 0x00 /* First page of TX buffer */ |
#define NE3210_STOP_PG 0x80 /* Last page +1 of RX ring */ |
MODULE_DESCRIPTION |
( |
"NE3210 EISA Ethernet driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
eisa |
, |
|
|
ne3210_ids |
|
|
) |
| |
module_exit |
( |
ne3210_cleanup |
| ) |
|
module_init |
( |
ne3210_init |
| ) |
|