#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/in.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/device.h>
#include <linux/init.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/bitops.h>
#include <asm/io.h>
#include <asm/dma.h>
#include <asm/ecard.h>
#include "ether1.h"
Go to the source code of this file.
|
#define | __ETHER1_C |
|
#define | BUFFER_SIZE 0x10000 |
|
#define | TX_AREA_START 0x00100 |
|
#define | TX_AREA_END 0x05000 |
|
#define | RX_AREA_START 0x05000 |
|
#define | RX_AREA_END 0x0fc00 |
|
#define | BUS_16 16 |
|
#define | BUS_8 8 |
|
#define | DISABLEIRQS 1 |
|
#define | NORMALIRQS 0 |
|
#define | ether1_readw(dev, addr, type, offset, svflgs) ether1_inw_p (dev, addr + (int)(&((type *)0)->offset), svflgs) |
|
#define | ether1_writew(dev, val, addr, type, offset, svflgs) ether1_outw_p (dev, val, addr + (int)(&((type *)0)->offset), svflgs) |
|
#define | NOP_ADDR (TX_AREA_START) |
|
#define | NOP_SIZE (0x06) |
|
#define | TDR_ADDR (0x003a) |
|
#define | TDR_SIZE (0x08) |
|
#define | MC_ADDR (0x002e) |
|
#define | MC_SIZE (0x0c) |
|
#define | SA_ADDR (0x0022) |
|
#define | SA_SIZE (0x0c) |
|
#define | CFG_ADDR (0x0010) |
|
#define | CFG_SIZE (0x12) |
|
#define | SCB_ADDR (0x0000) |
|
#define | SCB_SIZE (0x10) |
|
#define | ISCP_ADDR (0xffee) |
|
#define | ISCP_SIZE (0x08) |
|
#define | SCP_ADDR (0xfff6) |
|
#define | SCP_SIZE (0x0a) |
|
#define | RFD_SIZE (0x16) |
|
#define | RBD_SIZE (0x0a) |
|
#define | TX_SIZE (0x08) |
|
#define | TBD_SIZE (0x08) |
|
#define BUFFER_SIZE 0x10000 |
#define CFG_ADDR (0x0010) |
#define ISCP_ADDR (0xffee) |
#define RX_AREA_END 0x0fc00 |
#define RX_AREA_START 0x05000 |
#define SCB_ADDR (0x0000) |
#define SCP_ADDR (0xfff6) |
#define TDR_ADDR (0x003a) |
#define TX_AREA_END 0x05000 |
#define TX_AREA_START 0x00100 |
module_exit |
( |
ether1_exit |
| ) |
|
module_init |
( |
ether1_init |
| ) |
|