#include <linux/crc32.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/dma-mapping.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/pci.h>
#include <linux/interrupt.h>
#include <linux/ip.h>
#include <linux/slab.h>
#include <net/ip.h>
#include <linux/tcp.h>
#include <linux/in.h>
#include <linux/delay.h>
#include <linux/workqueue.h>
#include <linux/if_vlan.h>
#include <linux/prefetch.h>
#include <linux/debugfs.h>
#include <linux/mii.h>
#include <asm/irq.h>
#include "sky2.h"
Go to the source code of this file.
|
| module_param (debug, int, 0) |
|
| MODULE_PARM_DESC (debug,"Debug level (0=none,...,16=all)") |
|
| module_param (copybreak, int, 0) |
|
| MODULE_PARM_DESC (copybreak,"Receive copy threshold") |
|
| module_param (disable_msi, int, 0) |
|
| MODULE_PARM_DESC (disable_msi,"Disable Message Signaled Interrupt (MSI)") |
|
| module_param (legacy_pme, int, 0) |
|
| MODULE_PARM_DESC (legacy_pme,"Legacy power management") |
|
| MODULE_DEVICE_TABLE (pci, sky2_id_table) |
|
| module_init (sky2_init_module) |
|
| module_exit (sky2_cleanup_module) |
|
| MODULE_DESCRIPTION ("Marvell Yukon 2 Gigabit Ethernet driver") |
|
| MODULE_AUTHOR ("Stephen Hemminger <[email protected]>") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_VERSION (DRV_VERSION) |
|
#define DRV_VERSION "1.30" |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
#define RING_NEXT |
( |
|
x, |
|
|
|
s |
|
) |
| (((x)+1) & ((s)-1)) |
#define sky2_debug_cleanup |
( |
| ) |
|
#define sky2_debug_init |
( |
| ) |
|
#define SKY2_EEPROM_MAGIC 0x9955aabb |
#define TX_DEF_PENDING 63 |
#define TX_MAX_PENDING 1024 |
#define TX_WATCHDOG (5 * HZ) |
MODULE_DESCRIPTION |
( |
"Marvell Yukon 2 Gigabit Ethernet driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
sky2_id_table |
|
|
) |
| |
module_exit |
( |
sky2_cleanup_module |
| ) |
|
module_init |
( |
sky2_init_module |
| ) |
|
module_param |
( |
disable_msi |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
legacy_pme |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
disable_msi |
, |
|
|
"Disable Message Signaled Interrupt (MSI)" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
legacy_pme |
, |
|
|
"Legacy power management" |
|
|
) |
| |