Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
atp.c File Reference
#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.

Data Structures

struct  net_local
 

Macros

#define net_debug   debug
 
#define NUM_UNITS   2
 
#define TX_TIMEOUT   (400*HZ/1000)
 
#define ETHERCARD_TOTAL_SIZE   3
 
#define TIMED_CHECKER   (HZ/4)
 

Functions

 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)
 

Macro Definition Documentation

#define ETHERCARD_TOTAL_SIZE   3

Definition at line 164 of file atp.c.

#define net_debug   debug

Definition at line 41 of file atp.c.

#define NUM_UNITS   2

Definition at line 46 of file atp.c.

#define TIMED_CHECKER   (HZ/4)

Definition at line 185 of file atp.c.

#define TX_TIMEOUT   (400*HZ/1000)

Definition at line 55 of file atp.c.

Function Documentation

MODULE_AUTHOR ( "Donald Becker <[email protected]>"  )
MODULE_DESCRIPTION ( "RealTek RTL8002/8012 parallel port Ethernet driver )
module_exit ( atp_cleanup_module  )
module_init ( atp_init_module  )
MODULE_LICENSE ( "GPL"  )
module_param ( max_interrupt_work  ,
int  ,
 
)
module_param ( debug  ,
int  ,
 
)
module_param_array ( io  ,
int  ,
NULL  ,
 
)
module_param_array ( irq  ,
int  ,
NULL  ,
 
)
module_param_array ( xcvr  ,
int  ,
NULL  ,
 
)
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)"   
)