Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
xilinx_axienet_main.c File Reference
#include <linux/delay.h>
#include <linux/etherdevice.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/of_mdio.h>
#include <linux/of_platform.h>
#include <linux/of_address.h>
#include <linux/skbuff.h>
#include <linux/spinlock.h>
#include <linux/phy.h>
#include <linux/mii.h>
#include <linux/ethtool.h>
#include "xilinx_axienet.h"

Go to the source code of this file.

Macros

#define TX_BD_NUM   64
 
#define RX_BD_NUM   128
 
#define DRIVER_NAME   "xaxienet"
 
#define DRIVER_DESCRIPTION   "Xilinx Axi Ethernet driver"
 
#define DRIVER_VERSION   "1.00a"
 
#define AXIENET_REGS_N   32
 

Functions

 MODULE_DEVICE_TABLE (of, axienet_of_match)
 
 module_platform_driver (axienet_of_driver)
 
 MODULE_DESCRIPTION ("Xilinx Axi Ethernet driver")
 
 MODULE_AUTHOR ("Xilinx")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define AXIENET_REGS_N   32

Definition at line 48 of file xilinx_axienet_main.c.

#define DRIVER_DESCRIPTION   "Xilinx Axi Ethernet driver"

Definition at line 45 of file xilinx_axienet_main.c.

#define DRIVER_NAME   "xaxienet"

Definition at line 44 of file xilinx_axienet_main.c.

#define DRIVER_VERSION   "1.00a"

Definition at line 46 of file xilinx_axienet_main.c.

#define RX_BD_NUM   128

Definition at line 41 of file xilinx_axienet_main.c.

#define TX_BD_NUM   64

Definition at line 40 of file xilinx_axienet_main.c.

Function Documentation

MODULE_AUTHOR ( "Xilinx"  )
MODULE_DESCRIPTION ( "Xilinx Axi Ethernet driver )
MODULE_DEVICE_TABLE ( of  ,
axienet_of_match   
)
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( axienet_of_driver  )