#include <linux/atomic.h>
#include <asm/byteorder.h>
#include <linux/compiler.h>
#include <linux/crc32.h>
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/etherdevice.h>
#include <linux/hardirq.h>
#include <linux/if_ether.h>
#include <linux/if_vlan.h>
#include <linux/in.h>
#include <linux/interrupt.h>
#include <linux/ip.h>
#include <linux/irqflags.h>
#include <linux/irqreturn.h>
#include <linux/jiffies.h>
#include <linux/mii.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/net.h>
#include <linux/netdevice.h>
#include <linux/pci.h>
#include <linux/pci_ids.h>
#include <linux/pm.h>
#include <linux/skbuff.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/string.h>
#include <linux/tcp.h>
#include <linux/timer.h>
#include <linux/types.h>
#include <linux/workqueue.h>
#include <net/checksum.h>
#include "atl1.h"
#include "atlx.c"
Go to the source code of this file.
|
| MODULE_AUTHOR ("Xiong Huang <[email protected]>, ""Chris Snook <[email protected]>, ""Jay Cliburn <[email protected]>") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_VERSION (ATLX_DRIVER_VERSION) |
|
| module_param_array_named (int_mod_timer, int_mod_timer, int,&num_int_mod_timer, 0) |
|
| MODULE_PARM_DESC (int_mod_timer,"Interrupt moderator timer") |
|
| MODULE_DEVICE_TABLE (pci, atl1_pci_tbl) |
|
| module_param (debug, int, 0) |
|
| MODULE_PARM_DESC (debug,"Message level (0=none,...,16=all)") |
|
| module_init (atl1_init_module) |
|
| module_exit (atl1_exit_module) |
|
#define ATLX_DRIVER_VERSION "2.1.3" |
#define CUSTOM_SPI_CLK_HI 2 |
#define CUSTOM_SPI_CLK_LO 2 |
#define CUSTOM_SPI_CS_HI 3 |
#define CUSTOM_SPI_CS_HOLD 2 |
#define CUSTOM_SPI_CS_SETUP 2 |
#define DEFAULT_INT_MOD_CNT 100 /* 200us */ |
#define MAX_INT_MOD_CNT 65000 |
#define MIN_INT_MOD_CNT 50 |
#define OPTION_DISABLED 0 |
MODULE_AUTHOR |
( |
"Xiong Huang <[email protected]> |
, |
|
|
""Chris Snook< csnook @redhat.com > |
, |
|
|
""Jay Cliburn< jcliburn @gmail.com >" |
|
|
) |
| |
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
atl1_pci_tbl |
|
|
) |
| |
module_exit |
( |
atl1_exit_module |
| ) |
|
module_init |
( |
atl1_init_module |
| ) |
|
module_param_array_named |
( |
int_mod_timer |
, |
|
|
int_mod_timer |
, |
|
|
int |
, |
|
|
& |
num_int_mod_timer, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
int_mod_timer |
, |
|
|
"Interrupt moderator timer" |
|
|
) |
| |