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

Go to the source code of this file.

Macros

#define AT803X_INTR_ENABLE   0x12
 
#define AT803X_INTR_STATUS   0x13
 
#define AT803X_WOL_ENABLE   0x01
 
#define AT803X_DEVICE_ADDR   0x03
 
#define AT803X_LOC_MAC_ADDR_0_15_OFFSET   0x804C
 
#define AT803X_LOC_MAC_ADDR_16_31_OFFSET   0x804B
 
#define AT803X_LOC_MAC_ADDR_32_47_OFFSET   0x804A
 
#define AT803X_MMD_ACCESS_CONTROL   0x0D
 
#define AT803X_MMD_ACCESS_CONTROL_DATA   0x0E
 
#define AT803X_FUNC_DATA   0x4003
 

Functions

 MODULE_DESCRIPTION ("Atheros 803x PHY driver")
 
 MODULE_AUTHOR ("Matus Ujhelyi")
 
 MODULE_LICENSE ("GPL")
 
 module_init (atheros_init)
 
 module_exit (atheros_exit)
 
 MODULE_DEVICE_TABLE (mdio, atheros_tbl)
 

Macro Definition Documentation

#define AT803X_DEVICE_ADDR   0x03

Definition at line 23 of file at803x.c.

#define AT803X_FUNC_DATA   0x4003

Definition at line 29 of file at803x.c.

#define AT803X_INTR_ENABLE   0x12

Definition at line 20 of file at803x.c.

#define AT803X_INTR_STATUS   0x13

Definition at line 21 of file at803x.c.

#define AT803X_LOC_MAC_ADDR_0_15_OFFSET   0x804C

Definition at line 24 of file at803x.c.

#define AT803X_LOC_MAC_ADDR_16_31_OFFSET   0x804B

Definition at line 25 of file at803x.c.

#define AT803X_LOC_MAC_ADDR_32_47_OFFSET   0x804A

Definition at line 26 of file at803x.c.

#define AT803X_MMD_ACCESS_CONTROL   0x0D

Definition at line 27 of file at803x.c.

#define AT803X_MMD_ACCESS_CONTROL_DATA   0x0E

Definition at line 28 of file at803x.c.

#define AT803X_WOL_ENABLE   0x01

Definition at line 22 of file at803x.c.

Function Documentation

MODULE_AUTHOR ( "Matus Ujhelyi"  )
MODULE_DESCRIPTION ( "Atheros 803x PHY driver"  )
MODULE_DEVICE_TABLE ( mdio  ,
atheros_tbl   
)
module_exit ( atheros_exit  )
module_init ( atheros_init  )
MODULE_LICENSE ( "GPL"  )