#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/timer.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/ethtool.h>
#include <linux/if_vlan.h>
#include <linux/crc32.h>
#include <linux/bitops.h>
#include <asm/processor.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <linux/in6.h>
#include <linux/dma-mapping.h>
#include <linux/firmware.h>
#include "typhoon.h"
Go to the source code of this file.
|
enum | typhoon_cards {
TYPHOON_TX = 0,
TYPHOON_TX95,
TYPHOON_TX97,
TYPHOON_SVR,
TYPHOON_SVR95,
TYPHOON_SVR97,
TYPHOON_TXM,
TYPHOON_BSVR,
TYPHOON_FX95,
TYPHOON_FX97,
TYPHOON_FX95SVR,
TYPHOON_FX97SVR,
TYPHOON_FXM
} |
|
enum | completion_wait_values { NoWait = 0,
WaitNoSleep,
WaitSleep
} |
|
enum | state_values { Sleeping = 0,
Running
} |
|
#define COMMAND_ENTRIES 16 |
#define FIRMWARE_NAME "3com/typhoon.bin" |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME " " fmt |
#define RESPONSE_ENTRIES 32 |
#define RXFREE_ENTRIES 128 |
#define skb_tso_size |
( |
|
x | ) |
0 |
#define TSO_NUM_DESCRIPTORS 0 |
#define TX_TIMEOUT (2*HZ) |
#define TYPHOON_CRYPTO_3DES 0x02 |
#define TYPHOON_CRYPTO_DES 0x01 |
#define TYPHOON_CRYPTO_NONE 0x00 |
#define TYPHOON_CRYPTO_VARIABLE 0x04 |
#define TYPHOON_FIBER 0x08 |
#define TYPHOON_RESET_TIMEOUT_NOSLEEP ((6 * 1000000) / TYPHOON_UDELAY) |
#define TYPHOON_RESET_TIMEOUT_SLEEP (6 * HZ) |
#define TYPHOON_UDELAY 50 |
#define TYPHOON_WAKEUP_NEEDS_RESET 0x10 |
- Enumerator:
NoWait |
|
WaitNoSleep |
|
WaitSleep |
|
Definition at line 299 of file typhoon.c.
- Enumerator:
TYPHOON_TX |
|
TYPHOON_TX95 |
|
TYPHOON_TX97 |
|
TYPHOON_SVR |
|
TYPHOON_SVR95 |
|
TYPHOON_SVR97 |
|
TYPHOON_TXM |
|
TYPHOON_BSVR |
|
TYPHOON_FX95 |
|
TYPHOON_FX97 |
|
TYPHOON_FX95SVR |
|
TYPHOON_FX97SVR |
|
TYPHOON_FXM |
|
Definition at line 163 of file typhoon.c.
MODULE_DESCRIPTION |
( |
"3Com Typhoon Family (3C990, 3CR990, and variants)" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
typhoon_pci_tbl |
|
|
) |
| |
module_exit |
( |
typhoon_cleanup |
| ) |
|
module_init |
( |
typhoon_init |
| ) |
|
module_param |
( |
rx_copybreak |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
use_mmio |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |