Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
smsc911x.c File Reference
#include <linux/crc32.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/platform_device.h>
#include <linux/regulator/consumer.h>
#include <linux/sched.h>
#include <linux/timer.h>
#include <linux/bug.h>
#include <linux/bitops.h>
#include <linux/irq.h>
#include <linux/io.h>
#include <linux/swab.h>
#include <linux/phy.h>
#include <linux/smsc911x.h>
#include <linux/device.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/of_gpio.h>
#include <linux/of_net.h>
#include "smsc911x.h"

Go to the source code of this file.

Data Structures

struct  smsc911x_ops
 
struct  smsc911x_data
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define SMSC_CHIPNAME   "smsc911x"
 
#define SMSC_MDIONAME   "smsc911x-mdio"
 
#define SMSC_DRV_VERSION   "2008-10-21"
 
#define SMSC911X_NUM_SUPPLIES   2
 
#define MIN_PACKET_SIZE   (64)
 
#define __smsc_shift(pdata, reg)   ((reg) << ((pdata)->config.shift))
 
#define SMSC911X_PM_OPS   NULL
 

Functions

 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (SMSC_DRV_VERSION)
 
 MODULE_ALIAS ("platform:smsc911x")
 
 module_param (debug, int, 0)
 
 MODULE_PARM_DESC (debug,"Debug level (0=none,...,16=all)")
 
 MODULE_DEVICE_TABLE (of, smsc911x_dt_ids)
 
 module_init (smsc911x_init_module)
 
 module_exit (smsc911x_cleanup_module)
 

Macro Definition Documentation

#define __smsc_shift (   pdata,
  reg 
)    ((reg) << ((pdata)->config.shift))

Definition at line 150 of file smsc911x.c.

#define MIN_PACKET_SIZE   (64)

Definition at line 129 of file smsc911x.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 33 of file smsc911x.c.

#define SMSC911X_NUM_SUPPLIES   2

Definition at line 92 of file smsc911x.c.

#define SMSC911X_PM_OPS   NULL

Definition at line 2581 of file smsc911x.c.

#define SMSC_CHIPNAME   "smsc911x"

Definition at line 64 of file smsc911x.c.

#define SMSC_DRV_VERSION   "2008-10-21"

Definition at line 66 of file smsc911x.c.

#define SMSC_MDIONAME   "smsc911x-mdio"

Definition at line 65 of file smsc911x.c.

Function Documentation

MODULE_ALIAS ( "platform:smsc911x"  )
MODULE_DEVICE_TABLE ( of  ,
smsc911x_dt_ids   
)
module_exit ( smsc911x_cleanup_module  )
module_init ( smsc911x_init_module  )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
 
)
MODULE_PARM_DESC ( debug  ,
"Debug level (0=none,...,16=all)"   
)
MODULE_VERSION ( SMSC_DRV_VERSION  )