#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/dma-mapping.h>
#include <linux/delay.h>
#include <linux/rio.h>
#include <linux/rio_drv.h>
#include <linux/slab.h>
#include <linux/rio_ids.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/crc32.h>
#include <linux/ethtool.h>
Go to the source code of this file.
#define DRV_DESC "Ethernet over RapidIO" |
#define DRV_NAME "rionet" |
#define DRV_VERSION "0.3" |
#define is_rionet_capable |
( |
|
src_ops, |
|
|
|
dst_ops |
|
) |
| |
#define RIONET_DEFAULT_MSGLEVEL |
Value:
NETIF_MSG_LINK | \
NETIF_MSG_RX_ERR | \
NETIF_MSG_TX_ERR)
Definition at line 37 of file rionet.c.
#define RIONET_DOORBELL_JOIN 0x1000 |
#define RIONET_DOORBELL_LEAVE 0x1001 |
#define RIONET_GET_DESTID |
( |
|
x | ) |
((*((u8 *)x + 4) << 8) | *((u8 *)x + 5)) |
#define RIONET_MAC_MATCH |
( |
|
x | ) |
(!memcmp((x), "\00\01\00\01", 4)) |
#define RIONET_MAX_NETS 8 |
#define RIONET_RX_RING_SIZE CONFIG_RIONET_RX_SIZE |
#define RIONET_TX_RING_SIZE CONFIG_RIONET_TX_SIZE |
late_initcall |
( |
rionet_init |
| ) |
|
module_exit |
( |
rionet_exit |
| ) |
|