|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/kernel.h>#include <linux/types.h>#include <linux/fcntl.h>#include <linux/interrupt.h>#include <linux/string.h>#include <linux/errno.h>#include <linux/init.h>#include <linux/netdevice.h>#include <linux/etherdevice.h>#include <linux/ethtool.h>#include <linux/tcp.h>#include <linux/skbuff.h>#include <linux/delay.h>#include <linux/spi/spi.h>#include "enc28j60_hw.h"Go to the source code of this file.
Data Structures | |
| struct | enc28j60_net |
Macros | |
| #define | DRV_NAME "enc28j60" |
| #define | DRV_VERSION "1.01" |
| #define | SPI_OPLEN 1 |
| #define | ENC28J60_MSG_DEFAULT (NETIF_MSG_PROBE | NETIF_MSG_IFUP | NETIF_MSG_IFDOWN | NETIF_MSG_LINK) |
| #define | SPI_TRANSFER_BUF_LEN (4 + MAX_FRAMELEN) |
| #define | TX_TIMEOUT (4 * HZ) |
| #define | MAX_TX_RETRYCOUNT 16 |
Enumerations | |
| enum | { RXFILTER_NORMAL, RXFILTER_MULTI, RXFILTER_PROMISC } |
Functions | |
| module_init (enc28j60_init) | |
| module_exit (enc28j60_exit) | |
| MODULE_DESCRIPTION (DRV_NAME" ethernet driver") | |
| MODULE_AUTHOR ("Claudio Lanconelli <[email protected]>") | |
| MODULE_LICENSE ("GPL") | |
| module_param_named (debug, debug.msg_enable, int, 0) | |
| MODULE_PARM_DESC (debug,"Debug verbosity level (0=none, ..., ffff=all)") | |
| MODULE_ALIAS ("spi:"DRV_NAME) | |
| #define DRV_NAME "enc28j60" |
Definition at line 34 of file enc28j60.c.
| #define DRV_VERSION "1.01" |
Definition at line 35 of file enc28j60.c.
| #define ENC28J60_MSG_DEFAULT (NETIF_MSG_PROBE | NETIF_MSG_IFUP | NETIF_MSG_IFDOWN | NETIF_MSG_LINK) |
Definition at line 39 of file enc28j60.c.
| #define MAX_TX_RETRYCOUNT 16 |
Definition at line 49 of file enc28j60.c.
| #define SPI_OPLEN 1 |
Definition at line 37 of file enc28j60.c.
| #define SPI_TRANSFER_BUF_LEN (4 + MAX_FRAMELEN) |
Definition at line 44 of file enc28j60.c.
| #define TX_TIMEOUT (4 * HZ) |
Definition at line 46 of file enc28j60.c.
| anonymous enum |
Definition at line 51 of file enc28j60.c.
| MODULE_ALIAS | ( | "spi:" | DRV_NAME | ) |
| MODULE_AUTHOR | ( | "Claudio Lanconelli <[email protected]>" | ) |
| module_exit | ( | enc28j60_exit | ) |
| module_init | ( | enc28j60_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| u32 msg_enable |
Definition at line 80 of file enc28j60.c.
1.8.2