#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/ioport.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <asm/io.h>
#include "8390.h"
Go to the source code of this file.
#define E21_ALT_IFPORT 0x02 /* Set to use the other (BNC,AUI) port. */ |
#define E21_BIG_MEM 0x04 /* Use a bigger (64K) buffer (we don't) */ |
#define E21_BIG_RX_STOP_PG 0xF0 /* Last page +1 of RX ring */ |
#define E21_IO_EXTENT 0x20 |
#define E21_IRQ_HIGH 0x14 /* The high IRQ bit and media select ... */ |
#define E21_IRQ_LOW 0x12 /* The low three bits of the IRQ number. */ |
#define E21_MEDIA 0x14 /* (alias). */ |
#define E21_MEM_BASE 0x11 |
#define E21_MEM_ENABLE 0x10 |
#define E21_MEM_ON 0x05 /* Enable memory in 16 bit mode. */ |
#define E21_MEM_ON_8 0x07 /* Enable memory in 8 bit mode. */ |
#define E21_NIC_OFFSET 0 /* Offset to the 8390 NIC. */ |
#define E21_RX_START_PG 0x00 /* First page of RX buffer */ |
#define E21_RX_STOP_PG 0x30 /* Last page +1 of RX ring */ |
#define E21_SAPROM 0x10 /* Offset to station address data. */ |