Linux Kernel
3.7.1
|
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/ethtool.h>
#include <asm/io.h>
#include "emac.h"
#include "core.h"
Go to the source code of this file.
Macros | |
#define | ZMII_FER_MDI(idx) (0x80000000 >> ((idx) * 4)) |
#define | ZMII_FER_MDI_ALL |
#define | ZMII_FER_SMII(idx) (0x40000000 >> ((idx) * 4)) |
#define | ZMII_FER_RMII(idx) (0x20000000 >> ((idx) * 4)) |
#define | ZMII_FER_MII(idx) (0x10000000 >> ((idx) * 4)) |
#define | ZMII_SSR_SCI(idx) (0x40000000 >> ((idx) * 4)) |
#define | ZMII_SSR_FSS(idx) (0x20000000 >> ((idx) * 4)) |
#define | ZMII_SSR_SP(idx) (0x10000000 >> ((idx) * 4)) |
Functions | |
int __devinit | zmii_attach (struct platform_device *ofdev, int input, int *mode) |
void | zmii_get_mdio (struct platform_device *ofdev, int input) |
void | zmii_put_mdio (struct platform_device *ofdev, int input) |
void | zmii_set_speed (struct platform_device *ofdev, int input, int speed) |
void | zmii_detach (struct platform_device *ofdev, int input) |
int | zmii_get_regs_len (struct platform_device *ofdev) |
void * | zmii_dump_regs (struct platform_device *ofdev, void *buf) |
int __init | zmii_init (void) |
void | zmii_exit (void) |
#define ZMII_FER_MDI_ALL |
void zmii_detach | ( | struct platform_device * | ofdev, |
int | input | ||
) |
void* zmii_dump_regs | ( | struct platform_device * | ofdev, |
void * | buf | ||
) |
void zmii_get_mdio | ( | struct platform_device * | ofdev, |
int | input | ||
) |
int zmii_get_regs_len | ( | struct platform_device * | ofdev | ) |
void zmii_put_mdio | ( | struct platform_device * | ofdev, |
int | input | ||
) |