#include <linux/atomic.h>
#include <linux/crc32.h>
#include <linux/dma-mapping.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/hardirq.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/mii.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 "atl2.h"
Go to the source code of this file.
#define ATL2_DEFAULT_RXD_COUNT 64 |
#define ATL2_DEFAULT_TX_MEMSIZE 8 /* 8KB */ |
#define ATL2_DRV_VERSION "2.2.3" |
#define ATL2_MAX_RXD_COUNT 512 |
#define ATL2_MAX_TX_MEMSIZE 64 /* 64KB */ |
#define ATL2_MIN_RXD_COUNT 16 |
#define ATL2_MIN_TX_MEMSIZE 4 /* 4KB */ |
#define ATL2_PARAM |
( |
|
X, |
|
|
|
desc |
|
) |
| |
#define AUTONEG_ADV_DEFAULT 0x2F |
#define AUTONEG_ADV_MASK 0x2F |
#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 FLASH_VENDOR_DEFAULT 0 |
#define FLASH_VENDOR_MAX 2 |
#define FLASH_VENDOR_MIN 0 |
#define FLOW_CONTROL_DEFAULT FLOW_CONTROL_FULL |
#define INT_MOD_DEFAULT_CNT 100 /* 200us */ |
#define INT_MOD_MAX_CNT 65000 |
#define INT_MOD_MIN_CNT 50 |
Value:((((
a) & 0x00ff00ff) << 8) | \
(((
a) & 0xff00ff00) >> 8))
Definition at line 2124 of file atl2.c.
Value:
ADVERTISE_10_FULL | \
ADVERTISE_100_HALF| \
ADVERTISE_100_FULL)
#define OPTION_DISABLED 0 |
#define SHORTSWAP |
( |
|
a | ) |
(((a) << 8) | ((a) >> 8)) |
ATL2_PARAM |
( |
RxMemBlock |
, |
|
|
"Number of receive memory block" |
|
|
) |
| |
ATL2_PARAM |
( |
MediaType |
, |
|
|
"MediaType Select" |
|
|
) |
| |
ATL2_PARAM |
( |
IntModTimer |
, |
|
|
"Interrupt Moderator Timer" |
|
|
) |
| |
ATL2_PARAM |
( |
FlashVendor |
, |
|
|
"SPI Flash Vendor" |
|
|
) |
| |
MODULE_AUTHOR |
( |
"Atheros Corporation <[email protected]> |
, |
|
|
Chris Snook< csnook @redhat.com >" |
|
|
) |
| |
MODULE_DESCRIPTION |
( |
"Atheros Fast Ethernet Network Driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
atl2_pci_tbl |
|
|
) |
| |
module_exit |
( |
atl2_exit_module |
| ) |
|
module_init |
( |
atl2_init_module |
| ) |
|