#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/module.h>
#include <linux/netdevice.h>
#include <linux/phy.h>
#include <linux/platform_device.h>
#include <net/ip.h>
#include "ftgmac100.h"
Go to the source code of this file.
#define DRV_NAME "ftgmac100" |
#define DRV_VERSION "0.7" |
#define INT_MASK_ALL_ENABLED |
Value:
FTGMAC100_INT_XPKT_ETH | \
FTGMAC100_INT_XPKT_LOST | \
FTGMAC100_INT_AHB_ERR | \
FTGMAC100_INT_PHYSTS_CHG | \
FTGMAC100_INT_RPKT_BUF | \
FTGMAC100_INT_NO_RXBUF)
Definition at line 86 of file ftgmac100.c.
Value:
FTGMAC100_MACCR_RXDMA_EN | \
FTGMAC100_MACCR_TXMAC_EN | \
FTGMAC100_MACCR_RXMAC_EN | \
FTGMAC100_MACCR_FULLDUP | \
FTGMAC100_MACCR_CRC_APD | \
FTGMAC100_MACCR_RX_RUNT | \
FTGMAC100_MACCR_RX_BROADPKT)
Definition at line 164 of file ftgmac100.c.
#define MAX_PKT_SIZE 1518 |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
#define RX_QUEUE_ENTRIES 256 /* must be power of 2 */ |
#define TX_QUEUE_ENTRIES 512 /* must be power of 2 */ |
MODULE_DESCRIPTION |
( |
"FTGMAC100 driver" |
| ) |
|
module_exit |
( |
ftgmac100_exit |
| ) |
|
module_init |
( |
ftgmac100_init |
| ) |
|