#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/interrupt.h>
#include <linux/ptrace.h>
#include <linux/ioport.h>
#include <linux/nubus.h>
#include <linux/in.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/bitops.h>
#include <linux/io.h>
#include <asm/dma.h>
#include <asm/hwtest.h>
#include <asm/macints.h>
#include "lib8390.c"
Go to the source code of this file.
|
| #define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| |
| #define | EI_SHIFT(x) (ei_local->reg_offset[x]) |
| |
| #define | ei_inb(port) in_8(port) |
| |
| #define | ei_outb(val, port) out_8(port, val) |
| |
| #define | ei_inb_p(port) in_8(port) |
| |
| #define | ei_outb_p(val, port) out_8(port, val) |
| |
| #define | WD_START_PG 0x00 /* First page of TX buffer */ |
| |
| #define | CABLETRON_RX_START_PG 0x00 /* First page of RX buffer */ |
| |
| #define | CABLETRON_RX_STOP_PG 0x30 /* Last page +1 of RX ring */ |
| |
| #define | CABLETRON_TX_START_PG CABLETRON_RX_STOP_PG |
| |
| #define | DAYNA_8390_BASE 0x80000 |
| |
| #define | DAYNA_8390_MEM 0x00000 |
| |
| #define | CABLETRON_8390_BASE 0x90000 |
| |
| #define | CABLETRON_8390_MEM 0x00000 |
| |
| #define | INTERLAN_8390_BASE 0xE0000 |
| |
| #define | INTERLAN_8390_MEM 0xD0000 |
| |
| #define | memcpy_fromio(a, b, c) memcpy((a), (void *)(b), (c)) |
| |
| #define | memcpy_toio(a, b, c) memcpy((void *)(a), (b), (c)) |
| |
| #define | memcmp_withio(a, b, c) memcmp((a), (void *)(b), (c)) |
| |
| #define CABLETRON_8390_BASE 0x90000 |
| #define CABLETRON_8390_MEM 0x00000 |
| #define CABLETRON_RX_START_PG 0x00 /* First page of RX buffer */ |
| #define CABLETRON_RX_STOP_PG 0x30 /* Last page +1 of RX ring */ |
| #define DAYNA_8390_BASE 0x80000 |
| #define DAYNA_8390_MEM 0x00000 |
| #define EI_SHIFT |
( |
|
x | ) |
(ei_local->reg_offset[x]) |
| #define INTERLAN_8390_BASE 0xE0000 |
| #define INTERLAN_8390_MEM 0xD0000 |
| #define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
| #define WD_START_PG 0x00 /* First page of TX buffer */ |
- Enumerator:
| ACCESS_UNKNOWN |
|
| ACCESS_32 |
|
| ACCESS_16 |
|
Definition at line 119 of file mac8390.c.
- Enumerator:
| MAC8390_NONE |
|
| MAC8390_APPLE |
|
| MAC8390_ASANTE |
|
| MAC8390_FARALLON |
|
| MAC8390_CABLETRON |
|
| MAC8390_DAYNA |
|
| MAC8390_INTERLAN |
|
| MAC8390_KINETICS |
|
Definition at line 77 of file mac8390.c.