Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
icplus.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 IP10XX_SPEC_CTRL_STATUS   16 /* Spec. Control Register */
 
#define IP1001_SPEC_CTRL_STATUS_2   20 /* IP1001 Spec. Control Reg 2 */
 
#define IP1001_PHASE_SEL_MASK   3 /* IP1001 RX/TXPHASE_SEL */
 
#define IP1001_APS_ON   11 /* IP1001 APS Mode bit */
 
#define IP101A_G_APS_ON   2 /* IP101A/G APS Mode bit */
 
#define IP101A_G_IRQ_CONF_STATUS   0x11 /* Conf Info IRQ & Status Reg */
 
#define IP101A_G_IRQ_PIN_USED   (1<<15) /* INTR pin used */
 
#define IP101A_G_IRQ_DEFAULT   IP101A_G_IRQ_PIN_USED
 

Functions

 MODULE_DESCRIPTION ("ICPlus IP175C/IP101A/IP101G/IC1001 PHY drivers")
 
 MODULE_AUTHOR ("Michael Barkowski")
 
 MODULE_LICENSE ("GPL")
 
 module_init (icplus_init)
 
 module_exit (icplus_exit)
 
 MODULE_DEVICE_TABLE (mdio, icplus_tbl)
 

Macro Definition Documentation

#define IP1001_APS_ON   11 /* IP1001 APS Mode bit */

Definition at line 41 of file icplus.c.

#define IP1001_PHASE_SEL_MASK   3 /* IP1001 RX/TXPHASE_SEL */

Definition at line 40 of file icplus.c.

#define IP1001_SPEC_CTRL_STATUS_2   20 /* IP1001 Spec. Control Reg 2 */

Definition at line 39 of file icplus.c.

#define IP101A_G_APS_ON   2 /* IP101A/G APS Mode bit */

Definition at line 42 of file icplus.c.

#define IP101A_G_IRQ_CONF_STATUS   0x11 /* Conf Info IRQ & Status Reg */

Definition at line 43 of file icplus.c.

#define IP101A_G_IRQ_DEFAULT   IP101A_G_IRQ_PIN_USED

Definition at line 45 of file icplus.c.

#define IP101A_G_IRQ_PIN_USED   (1<<15) /* INTR pin used */

Definition at line 44 of file icplus.c.

#define IP10XX_SPEC_CTRL_STATUS   16 /* Spec. Control Register */

Definition at line 38 of file icplus.c.

Function Documentation

MODULE_AUTHOR ( "Michael Barkowski"  )
MODULE_DESCRIPTION ( "ICPlus IP175C/IP101A/IP101G/IC1001 PHY drivers"  )
MODULE_DEVICE_TABLE ( mdio  ,
icplus_tbl   
)
module_exit ( icplus_exit  )
module_init ( icplus_init  )
MODULE_LICENSE ( "GPL"  )