#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/crc32.h>
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/spinlock.h>
#include <linux/ethtool.h>
#include <linux/mii.h>
#include <linux/workqueue.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <asm/io.h>
#include "smc911x.h"
Go to the source code of this file.
#define CARDNAME "smc911x" |
#define DBG |
( |
|
n, |
|
|
|
args... |
|
) |
| do { } while (0) |
#define ENABLE_SMC_DEBUG_DMA 0 |
#define ENABLE_SMC_DEBUG_FUNC 0 |
#define ENABLE_SMC_DEBUG_MISC 0 |
#define ENABLE_SMC_DEBUG_PKTS 0 |
#define ENABLE_SMC_DEBUG_RX 0 |
#define ENABLE_SMC_DEBUG_TX 0 |
#define PRINT_PKT |
( |
|
x... | ) |
do { } while (0) |
Value:
SMC_DEBUG_TX | \
SMC_DEBUG_DMA | \
SMC_DEBUG_PKTS | \
SMC_DEBUG_MISC | \
SMC_DEBUG_FUNC \
)
Definition at line 49 of file smc911x.c.
#define SMC_DISABLE_INT |
( |
|
lp, |
|
|
|
x |
|
) |
| |
Value:do { \
SMC_SET_INT_EN((
lp), __mask); \
} while (0)
Definition at line 163 of file smc911x.c.
#define SMC_ENABLE_INT |
( |
|
lp, |
|
|
|
x |
|
) |
| |
Value:do { \
SMC_SET_INT_EN((
lp), __mask); \
} while (0)
Definition at line 155 of file smc911x.c.
MODULE_ALIAS |
( |
"platform:smc911x" |
| ) |
|
module_param |
( |
tx_fifo_kb |
, |
|
|
int |
, |
|
|
0400 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
tx_fifo_kb |
, |
|
|
"transmit FIFO size in KB (1<x<15)(default=8)" |
|
|
) |
| |
module_platform_driver |
( |
smc911x_driver |
| ) |
|