Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
fixed.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/list.h>
#include <linux/mii.h>
#include <linux/phy.h>
#include <linux/phy_fixed.h>
#include <linux/err.h>
#include <linux/slab.h>

Go to the source code of this file.

Data Structures

struct  fixed_mdio_bus
 
struct  fixed_phy
 

Macros

#define MII_REGS_NUM   29
 

Functions

int fixed_phy_set_link_update (struct phy_device *phydev, int(*link_update)(struct net_device *, struct fixed_phy_status *))
 
 EXPORT_SYMBOL_GPL (fixed_phy_set_link_update)
 
int fixed_phy_add (unsigned int irq, int phy_id, struct fixed_phy_status *status)
 
 EXPORT_SYMBOL_GPL (fixed_phy_add)
 
 module_init (fixed_mdio_bus_init)
 
 module_exit (fixed_mdio_bus_exit)
 
 MODULE_DESCRIPTION ("Fixed MDIO bus (MDIO bus emulation with fixed PHYs)")
 
 MODULE_AUTHOR ("Vitaly Bordug")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define MII_REGS_NUM   29

Definition at line 25 of file fixed.c.

Function Documentation

EXPORT_SYMBOL_GPL ( fixed_phy_set_link_update  )
EXPORT_SYMBOL_GPL ( fixed_phy_add  )
int fixed_phy_add ( unsigned int  irq,
int  phy_id,
struct fixed_phy_status status 
)

Definition at line 174 of file fixed.c.

int fixed_phy_set_link_update ( struct phy_device phydev,
int(*)(struct net_device *, struct fixed_phy_status *)  link_update 
)

Definition at line 152 of file fixed.c.

MODULE_AUTHOR ( "Vitaly Bordug"  )
MODULE_DESCRIPTION ( "Fixed MDIO bus (MDIO bus emulation with fixed PHYs)"  )
module_exit ( fixed_mdio_bus_exit  )
module_init ( fixed_mdio_bus_init  )
MODULE_LICENSE ( "GPL"  )