#include <linux/dma-mapping.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/mii.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/platform_device.h>
#include "ftmac100.h"
Go to the source code of this file.
#define DRV_NAME "ftmac100" |
#define DRV_VERSION "0.2" |
#define INT_MASK_ALL_DISABLED 0 |
#define INT_MASK_ALL_ENABLED |
Value:
FTMAC100_INT_NORXBUF | \
FTMAC100_INT_XPKT_OK | \
FTMAC100_INT_XPKT_LOST | \
FTMAC100_INT_RPKT_LOST | \
FTMAC100_INT_AHB_ERR | \
FTMAC100_INT_PHYSTS_CHG)
Definition at line 90 of file ftmac100.c.
Value:
FTMAC100_MACCR_RCV_EN | \
FTMAC100_MACCR_XDMA_EN | \
FTMAC100_MACCR_RDMA_EN | \
FTMAC100_MACCR_CRC_APD | \
FTMAC100_MACCR_FULLDUP | \
FTMAC100_MACCR_RX_RUNT | \
FTMAC100_MACCR_RX_BROADPKT)
Definition at line 163 of file ftmac100.c.
#define MAX_PKT_SIZE 1518 |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
#define RX_BUF_SIZE 2044 /* must be smaller than 0x7ff */ |
#define RX_QUEUE_ENTRIES 128 /* must be power of 2 */ |
#define TX_QUEUE_ENTRIES 16 /* must be power of 2 */ |
MODULE_DESCRIPTION |
( |
"FTMAC100 driver" |
| ) |
|
module_exit |
( |
ftmac100_exit |
| ) |
|
module_init |
( |
ftmac100_init |
| ) |
|