Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
realtek.c File Reference
#include <linux/phy.h>
#include <linux/module.h>

Go to the source code of this file.

Macros

#define RTL821x_PHYSR   0x11
 
#define RTL821x_PHYSR_DUPLEX   0x2000
 
#define RTL821x_PHYSR_SPEED   0xc000
 
#define RTL821x_INER   0x12
 
#define RTL821x_INER_INIT   0x6400
 
#define RTL821x_INSR   0x13
 

Functions

 MODULE_DESCRIPTION ("Realtek PHY driver")
 
 MODULE_AUTHOR ("Johnson Leung")
 
 MODULE_LICENSE ("GPL")
 
 module_init (realtek_init)
 
 module_exit (realtek_exit)
 
 MODULE_DEVICE_TABLE (mdio, realtek_tbl)
 

Macro Definition Documentation

#define RTL821x_INER   0x12

Definition at line 22 of file realtek.c.

#define RTL821x_INER_INIT   0x6400

Definition at line 23 of file realtek.c.

#define RTL821x_INSR   0x13

Definition at line 24 of file realtek.c.

#define RTL821x_PHYSR   0x11

Definition at line 19 of file realtek.c.

#define RTL821x_PHYSR_DUPLEX   0x2000

Definition at line 20 of file realtek.c.

#define RTL821x_PHYSR_SPEED   0xc000

Definition at line 21 of file realtek.c.

Function Documentation

MODULE_AUTHOR ( "Johnson Leung"  )
MODULE_DESCRIPTION ( "Realtek PHY driver )
MODULE_DEVICE_TABLE ( mdio  ,
realtek_tbl   
)
module_exit ( realtek_exit  )
module_init ( realtek_init  )
MODULE_LICENSE ( "GPL"  )