Linux Kernel
3.7.1
|
#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") | |
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 | ||
) |
int fixed_phy_set_link_update | ( | struct phy_device * | phydev, |
int(*)(struct net_device *, struct fixed_phy_status *) | link_update | ||
) |
MODULE_AUTHOR | ( | "Vitaly Bordug" | ) |
module_exit | ( | fixed_mdio_bus_exit | ) |
module_init | ( | fixed_mdio_bus_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |