Linux Kernel
3.7.1
|
#include <linux/mii.h>
#include <linux/phy.h>
#include <linux/slab.h>
#include <asm/io.h>
#include "stmmac.h"
Go to the source code of this file.
Macros | |
#define | MII_BUSY 0x00000001 |
#define | MII_WRITE 0x00000002 |
Functions | |
int | stmmac_mdio_register (struct net_device *ndev) |
int | stmmac_mdio_unregister (struct net_device *ndev) |
#define MII_BUSY 0x00000001 |
Definition at line 34 of file stmmac_mdio.c.
#define MII_WRITE 0x00000002 |
Definition at line 35 of file stmmac_mdio.c.
int stmmac_mdio_register | ( | struct net_device * | ndev | ) |
stmmac_mdio_register : net device structure Description: it registers the MII bus
Definition at line 154 of file stmmac_mdio.c.
int stmmac_mdio_unregister | ( | struct net_device * | ndev | ) |
stmmac_mdio_unregister : net device structure Description: it unregisters the MII bus
Definition at line 255 of file stmmac_mdio.c.