#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/timer.h>
#include <linux/pci.h>
#include <linux/spinlock.h>
#include <linux/init.h>
#include <linux/bitops.h>
#include <linux/io.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/delay.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include <linux/kthread.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/firmware.h>
#include <linux/types.h>
#include <linux/dma-mapping.h>
#include <linux/mii.h>
#include <linux/if_vlan.h>
#include <asm/unaligned.h>
#include <linux/ethtool.h>
#include <linux/uaccess.h>
#include "slichw.h"
#include "slic.h"
Go to the source code of this file.
#define ADDCARRY |
( |
|
x | ) |
(x > 65535 ? x -= 65535 : x) |
Value:do { \
printk(
KERN_ERR "slicoss ASSERT() Failure: function %s" \
"line %d\n", __func__, __LINE__); \
slic_assert_fail(); \
} \
} while (0)
Definition at line 161 of file slicoss.c.
#define DEBUG_MICROCODE 1 |
#define DRV_AUTHOR "Alacritech, Inc. Engineering" |
Value:"Copyright 2000-2006 Alacritech, Inc. "\
"All rights reserved."
Definition at line 124 of file slicoss.c.
Value:"Alacritech SLIC Techonology(tm) "\
"Non-Accelerated Driver"
Definition at line 122 of file slicoss.c.
#define DRV_NAME "slicoss" |
#define DRV_VERSION "2.0.1" |
#define KLUDGE_FOR_4GB_BOUNDARY 1 |
#define M_FAST_PATH 0x0040 |
#define NORMAL_ETHFRAME 0 |
#define PING_TIMER_INTERVAL 1 |
#define SLIC_FREE_SLIC_HANDLE |
( |
|
_adapter, |
|
|
|
_pslic_handle |
|
) |
| |
Value:{ \
spin_lock_irqsave(&
_adapter->handle_lock.lock, \
_pslic_handle->next =
_adapter->pfree_slic_handles;
\
_adapter->pfree_slic_handles = _pslic_handle; \
spin_unlock_irqrestore(&
_adapter->handle_lock.lock, \
}
Definition at line 184 of file slicoss.c.
#define SLIC_GET_SLIC_HANDLE |
( |
|
_adapter, |
|
|
|
_pslic_handle |
|
) |
| |
Value:{ \
spin_lock_irqsave(&
_adapter->handle_lock.lock, \
_pslic_handle =
_adapter->pfree_slic_handles; \
if (_pslic_handle) { \
_adapter->pfree_slic_handles = _pslic_handle->next; \
} \
spin_unlock_irqrestore(&
_adapter->handle_lock.lock, \
}
Definition at line 171 of file slicoss.c.
#define SLIC_INTERRUPT_PROCESS_LIMIT 1 |
#define SLIC_OFFLOAD_IP_CHECKSUM 1 |
#define STATS_TIMER_INTERVAL 2 |
#define TCP_OFFLOAD_FRAME_PUSHFLAG 0x10000000 |
#define XMIT_FAIL_HOSTCMD_FAIL 3 |
#define XMIT_FAIL_LINK_STATE 1 |
#define XMIT_FAIL_ZERO_LENGTH 2 |
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
slic_pci_tbl |
|
|
) |
| |
module_exit |
( |
slic_module_cleanup |
| ) |
|
module_init |
( |
slic_module_init |
| ) |
|
MODULE_LICENSE |
( |
"Dual BSD/GPL" |
| ) |
|
module_param |
( |
dynamic_intagg |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
intagg_delay |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
dynamic_intagg |
, |
|
|
"Dynamic Interrupt Aggregation Setting" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
intagg_delay |
, |
|
|
"uSec Interrupt Aggregation Delay" |
|
|
) |
| |