Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
sunvnet.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/netdevice.h>
#include <linux/ethtool.h>
#include <linux/etherdevice.h>
#include <linux/mutex.h>
#include <asm/vio.h>
#include <asm/ldc.h>
#include "sunvnet.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define DRV_MODULE_NAME   "sunvnet"
 
#define DRV_MODULE_VERSION   "1.0"
 
#define DRV_MODULE_RELDATE   "June 25, 2007"
 

Functions

 MODULE_AUTHOR ("David S. Miller ([email protected])")
 
 MODULE_DESCRIPTION ("Sun LDOM virtual network driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (DRV_MODULE_VERSION)
 
struct vnet_port__tx_port_find (struct vnet *vp, struct sk_buff *skb)
 
struct vnet_porttx_port_find (struct vnet *vp, struct sk_buff *skb)
 
 MODULE_DEVICE_TABLE (vio, vnet_port_match)
 
 module_init (vnet_init)
 
 module_exit (vnet_exit)
 

Variables

const charremote_macaddr_prop = "remote-mac-address"
 

Macro Definition Documentation

#define DRV_MODULE_NAME   "sunvnet"

Definition at line 24 of file sunvnet.c.

#define DRV_MODULE_RELDATE   "June 25, 2007"

Definition at line 26 of file sunvnet.c.

#define DRV_MODULE_VERSION   "1.0"

Definition at line 25 of file sunvnet.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 6 of file sunvnet.c.

Function Documentation

struct vnet_port* __tx_port_find ( struct vnet vp,
struct sk_buff skb 
)
read

Definition at line 613 of file sunvnet.c.

MODULE_AUTHOR ( "David S. Miller ([email protected])"  )
MODULE_DESCRIPTION ( "Sun LDOM virtual network driver )
MODULE_DEVICE_TABLE ( vio  ,
vnet_port_match   
)
module_exit ( vnet_exit  )
module_init ( vnet_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( DRV_MODULE_VERSION  )
struct vnet_port* tx_port_find ( struct vnet vp,
struct sk_buff skb 
)
read

Definition at line 631 of file sunvnet.c.

Variable Documentation

const char* remote_macaddr_prop = "remote-mac-address"

Definition at line 1133 of file sunvnet.c.