#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/in.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/crc32.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/spinlock.h>
#include <linux/delay.h>
#include <linux/bitops.h>
#include <asm/io.h>
#include <asm/dma.h>
#include "atp.h"
#include <linux/timer.h>
Go to the source code of this file.
|
| MODULE_AUTHOR ("Donald Becker <[email protected]>") |
|
| MODULE_DESCRIPTION ("RealTek RTL8002/8012 parallel port Ethernet driver") |
|
| MODULE_LICENSE ("GPL") |
|
| module_param (max_interrupt_work, int, 0) |
|
| module_param (debug, int, 0) |
|
| module_param_array (io, int, NULL, 0) |
|
| module_param_array (irq, int, NULL, 0) |
|
| module_param_array (xcvr, int, NULL, 0) |
|
| MODULE_PARM_DESC (max_interrupt_work,"ATP maximum events handled per interrupt") |
|
| MODULE_PARM_DESC (debug,"ATP debug level (0-7)") |
|
| MODULE_PARM_DESC (io,"ATP I/O base address(es)") |
|
| MODULE_PARM_DESC (irq,"ATP IRQ number(s)") |
|
| MODULE_PARM_DESC (xcvr,"ATP transceiver(s) (0=internal, 1=external)") |
|
| module_init (atp_init_module) |
|
| module_exit (atp_cleanup_module) |
|
#define ETHERCARD_TOTAL_SIZE 3 |
Definition at line 41 of file atp.c.
Definition at line 46 of file atp.c.
#define TIMED_CHECKER (HZ/4) |
#define TX_TIMEOUT (400*HZ/1000) |
Definition at line 55 of file atp.c.
module_exit |
( |
atp_cleanup_module |
| ) |
|
module_init |
( |
atp_init_module |
| ) |
|
module_param |
( |
max_interrupt_work |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param_array |
( |
xcvr |
, |
|
|
int |
, |
|
|
NULL |
, |
|
|
0 |
|
|
) |
| |