Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/mii.h>
#include <linux/of_address.h>
#include <linux/of_mdio.h>
#include <linux/of_device.h>
#include <asm/io.h>
#include <asm/ucc.h>
#include "gianfar.h"
Go to the source code of this file.
Data Structures | |
struct | fsl_pq_mii |
struct | fsl_pq_mdio |
struct | fsl_pq_mdio_priv |
struct | fsl_pq_mdio_data |
Macros | |
#define | MIIMIND_BUSY 0x00000001 |
#define | MIIMIND_NOTVALID 0x00000004 |
#define | MIIMCFG_INIT_VALUE 0x00000007 |
#define | MIIMCFG_RESET 0x80000000 |
#define | MII_READ_COMMAND 0x00000001 |
#define | MII_TIMEOUT 1000 |
Functions | |
MODULE_DEVICE_TABLE (of, fsl_pq_mdio_match) | |
module_platform_driver (fsl_pq_mdio_driver) | |
MODULE_LICENSE ("GPL") | |
Variables | |
struct fsl_pq_mdio | __packed |
#define MII_READ_COMMAND 0x00000001 |
Definition at line 41 of file fsl_pq_mdio.c.
#define MII_TIMEOUT 1000 |
Definition at line 66 of file fsl_pq_mdio.c.
#define MIIMCFG_INIT_VALUE 0x00000007 |
Definition at line 38 of file fsl_pq_mdio.c.
#define MIIMCFG_RESET 0x80000000 |
Definition at line 39 of file fsl_pq_mdio.c.
#define MIIMIND_BUSY 0x00000001 |
Definition at line 36 of file fsl_pq_mdio.c.
#define MIIMIND_NOTVALID 0x00000004 |
Definition at line 37 of file fsl_pq_mdio.c.
MODULE_DEVICE_TABLE | ( | of | , |
fsl_pq_mdio_match | |||
) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | fsl_pq_mdio_driver | ) |