Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
bcm63xx_enet.c File Reference
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/clk.h>
#include <linux/etherdevice.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/ethtool.h>
#include <linux/crc32.h>
#include <linux/err.h>
#include <linux/dma-mapping.h>
#include <linux/platform_device.h>
#include <linux/if_vlan.h>
#include <bcm63xx_dev_enet.h>
#include "bcm63xx_enet.h"

Go to the source code of this file.

Data Structures

struct  bcm_enet_stats
 

Macros

#define GEN_STAT(m)
 
#define DEV_STAT(m)
 
#define BCM_ENET_STATS_LEN   (sizeof(bcm_enet_gstrings_stats) / sizeof(struct bcm_enet_stats))
 

Functions

 module_param (copybreak, int, 0)
 
 MODULE_PARM_DESC (copybreak,"Receive copy threshold")
 
 module_init (bcm_enet_init)
 
 module_exit (bcm_enet_exit)
 
 MODULE_DESCRIPTION ("BCM63xx internal ethernet mac driver")
 
 MODULE_AUTHOR ("Maxime Bizon <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Variables

struct platform_driver bcm63xx_enet_driver
 
struct platform_driver bcm63xx_enet_shared_driver
 

Macro Definition Documentation

#define BCM_ENET_STATS_LEN   (sizeof(bcm_enet_gstrings_stats) / sizeof(struct bcm_enet_stats))

Definition at line 1216 of file bcm63xx_enet.c.

#define DEV_STAT (   m)
Value:
sizeof(((struct net_device_stats *)0)->m), \

Definition at line 1156 of file bcm63xx_enet.c.

#define GEN_STAT (   m)
Value:
sizeof(((struct bcm_enet_priv *)0)->m), \

Definition at line 1154 of file bcm63xx_enet.c.

Function Documentation

MODULE_AUTHOR ( "Maxime Bizon <[email protected]>"  )
MODULE_DESCRIPTION ( "BCM63xx internal ethernet mac driver )
module_exit ( bcm_enet_exit  )
module_init ( bcm_enet_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( copybreak  ,
int  ,
 
)
MODULE_PARM_DESC ( copybreak  ,
"Receive copy threshold  
)

Variable Documentation

struct platform_driver bcm63xx_enet_driver
Initial value:
= {
.probe = bcm_enet_probe,
.remove = __devexit_p(bcm_enet_remove),
.driver = {
.name = "bcm63xx_enet",
.owner = THIS_MODULE,
},
}

Definition at line 1878 of file bcm63xx_enet.c.

struct platform_driver bcm63xx_enet_shared_driver
Initial value:
= {
.probe = bcm_enet_shared_probe,
.remove = __devexit_p(bcm_enet_shared_remove),
.driver = {
.name = "bcm63xx_enet_shared",
.owner = THIS_MODULE,
},
}

Definition at line 1925 of file bcm63xx_enet.c.