Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
amd.c File Reference
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/mii.h>
#include <linux/phy.h>

Go to the source code of this file.

Macros

#define PHY_ID_AM79C874   0x0022561b
 
#define MII_AM79C_IR   17 /* Interrupt Status/Control Register */
 
#define MII_AM79C_IR_EN_LINK   0x0400 /* IR enable Linkstate */
 
#define MII_AM79C_IR_EN_ANEG   0x0100 /* IR enable Aneg Complete */
 
#define MII_AM79C_IR_IMASK_INIT   (MII_AM79C_IR_EN_LINK | MII_AM79C_IR_EN_ANEG)
 

Functions

 MODULE_DESCRIPTION ("AMD PHY driver")
 
 MODULE_AUTHOR ("Heiko Schocher <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 module_init (am79c_init)
 
 module_exit (am79c_exit)
 
 MODULE_DEVICE_TABLE (mdio, amd_tbl)
 

Macro Definition Documentation

#define MII_AM79C_IR   17 /* Interrupt Status/Control Register */

Definition at line 23 of file amd.c.

#define MII_AM79C_IR_EN_ANEG   0x0100 /* IR enable Aneg Complete */

Definition at line 25 of file amd.c.

#define MII_AM79C_IR_EN_LINK   0x0400 /* IR enable Linkstate */

Definition at line 24 of file amd.c.

#define MII_AM79C_IR_IMASK_INIT   (MII_AM79C_IR_EN_LINK | MII_AM79C_IR_EN_ANEG)

Definition at line 26 of file amd.c.

#define PHY_ID_AM79C874   0x0022561b

Definition at line 21 of file amd.c.

Function Documentation

MODULE_AUTHOR ( "Heiko Schocher <[email protected]>"  )
MODULE_DESCRIPTION ( "AMD PHY driver )
MODULE_DEVICE_TABLE ( mdio  ,
amd_tbl   
)
module_exit ( am79c_exit  )
module_init ( am79c_init  )
MODULE_LICENSE ( "GPL"  )