#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.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/crc32.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/time.h>
#include <linux/types.h>
#include <linux/unistd.h>
#include <linux/ctype.h>
#include <linux/moduleparam.h>
#include <linux/platform_device.h>
#include <linux/bitops.h>
#include <asm/uaccess.h>
#include <asm/io.h>
#include <asm/dma.h>
#include "depca.h"
Go to the source code of this file.
|
| module_param (irq, int, 0) |
|
| module_param (io, int, 0) |
|
| module_param (adapter_name, charp, 0) |
|
| module_param (mem, int, 0) |
|
| MODULE_PARM_DESC (irq,"DEPCA IRQ number") |
|
| MODULE_PARM_DESC (io,"DEPCA I/O base address") |
|
| MODULE_PARM_DESC (adapter_name,"DEPCA adapter name") |
|
| MODULE_PARM_DESC (mem,"DEPCA shared memory address") |
|
| MODULE_LICENSE ("GPL") |
|
| module_init (depca_module_init) |
|
| module_exit (depca_module_exit) |
|
#define DEPCA_ALIGN4 ((u_long)4 - 1) /* 1 longword align */ |
#define DEPCA_ALIGN8 ((u_long)8 - 1) /* 2 longword (quadword) align */ |
#define DEPCA_EISA_IO_PORTS 0x0c00 /* I/O port base address, slot 0 */ |
#define DEPCA_NDA 0xffe0 /* No Device Address */ |
#define DEPCA_PKT_STAT_SZ 16 |
#define DEPCA_RAM_BASE_ADDRESSES {0xc0000,0xd0000,0xe0000,0x00000} |
Value:{"DEPCA",\
"DE100","DE101",\
"DE200","DE201","DE202",\
"DE210","DE212",\
"DE422",\
""}
Definition at line 310 of file depca.c.
#define DEPCA_TOTAL_SIZE 0x10 |
#define ETH_PROM_SIG 0xAA5500FFUL |
Value:((
lp->tx_old<=
lp->tx_new)?\
lp->tx_old+
lp->txRingMask-
lp->tx_new:\
lp->tx_old -
lp->tx_new-1)
Definition at line 454 of file depca.c.
#define TX_TIMEOUT (1*HZ) |
- Enumerator:
DEPCA |
|
de100 |
|
de101 |
|
de200 |
|
de201 |
|
de202 |
|
de210 |
|
de212 |
|
de422 |
|
unknown |
|
Definition at line 319 of file depca.c.
module_exit |
( |
depca_module_exit |
| ) |
|
module_init |
( |
depca_module_init |
| ) |
|
module_param |
( |
irq |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
io |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
adapter_name |
, |
|
|
charp |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
mem |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
adapter_name |
, |
|
|
"DEPCA adapter name" |
|
|
) |
| |