Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
lxt.c File Reference
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/unistd.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/spinlock.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/mii.h>
#include <linux/ethtool.h>
#include <linux/phy.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Macros

#define MII_LXT970_IER   17 /* Interrupt Enable Register */
 
#define MII_LXT970_IER_IEN   0x0002
 
#define MII_LXT970_ISR   18 /* Interrupt Status Register */
 
#define MII_LXT970_CONFIG   19 /* Configuration Register */
 
#define MII_LXT971_IER   18 /* Interrupt Enable Register */
 
#define MII_LXT971_IER_IEN   0x00f2
 
#define MII_LXT971_ISR   19 /* Interrupt Status Register */
 
#define MII_LXT973_PCR   16 /* Port Configuration Register */
 
#define PCR_FIBER_SELECT   1
 

Functions

 MODULE_DESCRIPTION ("Intel LXT PHY driver")
 
 MODULE_AUTHOR ("Andy Fleming")
 
 MODULE_LICENSE ("GPL")
 
int lxt973a2_read_status (struct phy_device *phydev)
 
 module_init (lxt_init)
 
 module_exit (lxt_exit)
 
 MODULE_DEVICE_TABLE (mdio, lxt_tbl)
 

Macro Definition Documentation

#define MII_LXT970_CONFIG   19 /* Configuration Register */

Definition at line 45 of file lxt.c.

#define MII_LXT970_IER   17 /* Interrupt Enable Register */

Definition at line 39 of file lxt.c.

#define MII_LXT970_IER_IEN   0x0002

Definition at line 41 of file lxt.c.

#define MII_LXT970_ISR   18 /* Interrupt Status Register */

Definition at line 43 of file lxt.c.

#define MII_LXT971_IER   18 /* Interrupt Enable Register */

Definition at line 51 of file lxt.c.

#define MII_LXT971_IER_IEN   0x00f2

Definition at line 52 of file lxt.c.

#define MII_LXT971_ISR   19 /* Interrupt Status Register */

Definition at line 54 of file lxt.c.

#define MII_LXT973_PCR   16 /* Port Configuration Register */

Definition at line 57 of file lxt.c.

#define PCR_FIBER_SELECT   1

Definition at line 58 of file lxt.c.

Function Documentation

int lxt973a2_read_status ( struct phy_device phydev)

Definition at line 162 of file lxt.c.

MODULE_AUTHOR ( "Andy Fleming"  )
MODULE_DESCRIPTION ( "Intel LXT PHY driver )
MODULE_DEVICE_TABLE ( mdio  ,
lxt_tbl   
)
module_exit ( lxt_exit  )
module_init ( lxt_init  )
MODULE_LICENSE ( "GPL"  )