#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/jiffies.h>
#include <asm/io.h>
#include <asm/irq.h>
#include "8390.h"
#include "lib8390.c"
Go to the source code of this file.
|
#define | EI_SHIFT(x) (ei_local->reg_offset[x]) |
|
#define | DRV_NAME "ne-h8300" |
|
#define | NE_BASE (dev->base_addr) |
|
#define | NE_CMD 0x00 |
|
#define | NE_DATAPORT (ei_status.word16?0x20:0x10) /* NatSemi-defined port window offset. */ |
|
#define | NE_RESET (ei_status.word16?0x3f:0x1f) /* Issue a read to reset, a write to clear. */ |
|
#define | NE_IO_EXTENT (ei_status.word16?0x40:0x20) |
|
#define | NESM_START_PG 0x40 /* First page of TX buffer */ |
|
#define | NESM_STOP_PG 0x80 /* Last page +1 of RX ring */ |
|
#define DRV_NAME "ne-h8300" |
#define EI_SHIFT |
( |
|
x | ) |
(ei_local->reg_offset[x]) |
#define NE_BASE (dev->base_addr) |
#define NE_DATAPORT (ei_status.word16?0x20:0x10) /* NatSemi-defined port window offset. */ |
#define NE_IO_EXTENT (ei_status.word16?0x40:0x20) |
#define NE_RESET (ei_status.word16?0x3f:0x1f) /* Issue a read to reset, a write to clear. */ |
#define NESM_START_PG 0x40 /* First page of TX buffer */ |
#define NESM_STOP_PG 0x80 /* Last page +1 of RX ring */ |