|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/string.h>#include <linux/errno.h>#include <linux/ioport.h>#include <linux/slab.h>#include <linux/interrupt.h>#include <linux/delay.h>#include <linux/init.h>#include <linux/netdevice.h>#include <linux/etherdevice.h>#include <linux/skbuff.h>#include <linux/module.h>#include <linux/bitops.h>#include <asm/io.h>#include <asm/dma.h>#include "ni65.h"Go to the source code of this file.
Data Structures | |
| struct | card |
| struct | priv |
Macros | |
| #define | RCV_PARANOIA_CHECK |
| #define | MID_PERFORMANCE |
| #define | NI65_ID0 0x00 |
| #define | NI65_ID1 0x55 |
| #define | NI65_EB_ID0 0x52 |
| #define | NI65_EB_ID1 0x44 |
| #define | NE2100_ID0 0x57 |
| #define | NE2100_ID1 0x57 |
| #define | PORT p->cmdr_addr |
| #define | RMDNUM 16 |
| #define | RMDNUMMASK 0x80000000 |
| #define | TMDNUM 4 |
| #define | TMDNUMMASK 0x40000000 /* log2(TMDNUM)<<29 */ |
| #define | R_BUF_SIZE 1544 |
| #define | T_BUF_SIZE 1544 |
| #define | L_DATAREG 0x00 |
| #define | L_ADDRREG 0x02 |
| #define | L_RESET 0x04 |
| #define | L_CONFIG 0x05 |
| #define | L_BUSIF 0x06 |
| #define | CSR0 0x00 |
| #define | CSR1 0x01 |
| #define | CSR2 0x02 |
| #define | CSR3 0x03 |
| #define | INIT_RING_BEFORE_START 0x1 |
| #define | FULL_RESET_ON_ERROR 0x2 |
| #define | writereg(val, reg) {outw(reg,PORT+L_ADDRREG);outw(val,PORT+L_DATAREG);} |
| #define | readreg(reg) (outw(reg,PORT+L_ADDRREG),inw(PORT+L_DATAREG)) |
| #define | writedatareg(val) { writereg(val,CSR0); } |
| #define | NUM_CARDS 3 |
Functions | |
| struct net_device *__init | ni65_probe (int unit) |
| MODULE_LICENSE ("GPL") | |
| MODULE_LICENSE | ( | "GPL" | ) |
1.8.2