|
Linux Kernel
3.7.1
|
#include <linux/slab.h>#include <linux/module.h>#include <linux/netdevice.h>#include <linux/etherdevice.h>#include "xp.h"Go to the source code of this file.
Data Structures | |
| struct | xpnet_message |
| struct | xpnet_pending_msg |
Macros | |
| #define | XPNET_MSG_SIZE XPC_MSG_PAYLOAD_MAX_SIZE |
| #define | XPNET_MSG_DATA_MAX (XPNET_MSG_SIZE - offsetof(struct xpnet_message, data)) |
| #define | XPNET_MSG_NENTRIES (PAGE_SIZE / XPC_MSG_MAX_SIZE) |
| #define | XPNET_MAX_KTHREADS (XPNET_MSG_NENTRIES + 1) |
| #define | XPNET_MAX_IDLE_KTHREADS (XPNET_MSG_NENTRIES + 1) |
| #define | _XPNET_VERSION(_major, _minor) (((_major) << 4) | (_minor)) |
| #define | XPNET_VERSION_MAJOR(_v) ((_v) >> 4) |
| #define | XPNET_VERSION_MINOR(_v) ((_v) & 0xf) |
| #define | XPNET_VERSION _XPNET_VERSION(1, 0) /* version 1.0 */ |
| #define | XPNET_VERSION_EMBED _XPNET_VERSION(1, 1) /* version 1.1 */ |
| #define | XPNET_MAGIC 0x88786984 /* "XNET" */ |
| #define | XPNET_VALID_MSG(_m) |
| #define | XPNET_DEVICE_NAME "xp0" |
| #define | XPNET_MAX_MTU (0x800000UL - L1_CACHE_BYTES) |
| #define | XPNET_DEF_MTU (0x8000UL) |
| #define | XPNET_PARTID_OCTET 2 |
Functions | |
| module_init (xpnet_init) | |
| module_exit (xpnet_exit) | |
| MODULE_AUTHOR ("Silicon Graphics, Inc.") | |
| MODULE_DESCRIPTION ("Cross Partition Network adapter (XPNET)") | |
| MODULE_LICENSE ("GPL") | |
Variables | |
| struct net_device * | xpnet_device |
| struct device_driver | xpnet_dbg_name |
| struct device | xpnet_dbg_subname |
| struct device * | xpnet = &xpnet_dbg_subname |
| #define XPNET_MAX_IDLE_KTHREADS (XPNET_MSG_NENTRIES + 1) |
| #define XPNET_MAX_KTHREADS (XPNET_MSG_NENTRIES + 1) |
| #define XPNET_MSG_DATA_MAX (XPNET_MSG_SIZE - offsetof(struct xpnet_message, data)) |
| #define XPNET_MSG_NENTRIES (PAGE_SIZE / XPC_MSG_MAX_SIZE) |
| #define XPNET_MSG_SIZE XPC_MSG_PAYLOAD_MAX_SIZE |
| #define XPNET_VALID_MSG | ( | _m | ) |
| #define XPNET_VERSION _XPNET_VERSION(1, 0) /* version 1.0 */ |
| #define XPNET_VERSION_EMBED _XPNET_VERSION(1, 1) /* version 1.1 */ |
| MODULE_AUTHOR | ( | "Silicon | Graphics, |
| Inc." | |||
| ) |
| module_exit | ( | xpnet_exit | ) |
| module_init | ( | xpnet_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| struct device* xpnet = &xpnet_dbg_subname |
| struct device_driver xpnet_dbg_name |
| struct net_device* xpnet_device |
1.8.2