Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
jme.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/pci-aspm.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/mii.h>
#include <linux/crc32.h>
#include <linux/delay.h>
#include <linux/spinlock.h>
#include <linux/in.h>
#include <linux/ip.h>
#include <linux/ipv6.h>
#include <linux/tcp.h>
#include <linux/udp.h>
#include <linux/if_vlan.h>
#include <linux/slab.h>
#include <net/ip6_checksum.h>
#include "jme.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define JME_WAIT_LINK_TIME   2000 /* 2000ms */
 
#define JME_PM_OPS   NULL
 

Functions

 module_param (force_pseudohp, int, 0)
 
 MODULE_PARM_DESC (force_pseudohp,"Enable pseudo hot-plug feature manually by driver instead of BIOS.")
 
 module_param (no_pseudohp, int, 0)
 
 MODULE_PARM_DESC (no_pseudohp,"Disable pseudo hot-plug feature.")
 
 module_param (no_extplug, int, 0)
 
 MODULE_PARM_DESC (no_extplug,"Do not use external plug signal for pseudo hot-plug.")
 
 module_init (jme_init_module)
 
 module_exit (jme_cleanup_module)
 
 MODULE_AUTHOR ("Guo-Fu Tseng <[email protected]>")
 
 MODULE_DESCRIPTION ("JMicron JMC2x0 PCI Express Ethernet driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (DRV_VERSION)
 
 MODULE_DEVICE_TABLE (pci, jme_pci_tbl)
 

Macro Definition Documentation

#define JME_PM_OPS   NULL

Definition at line 3308 of file jme.c.

#define JME_WAIT_LINK_TIME   2000 /* 2000ms */

Definition at line 1915 of file jme.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 25 of file jme.c.

Function Documentation

MODULE_AUTHOR ( "Guo-Fu Tseng <[email protected]>"  )
MODULE_DESCRIPTION ( "JMicron JMC2x0 PCI Express Ethernet driver )
MODULE_DEVICE_TABLE ( pci  ,
jme_pci_tbl   
)
module_exit ( jme_cleanup_module  )
module_init ( jme_init_module  )
MODULE_LICENSE ( "GPL"  )
module_param ( force_pseudohp  ,
int  ,
 
)
module_param ( no_pseudohp  ,
int  ,
 
)
module_param ( no_extplug  ,
int  ,
 
)
MODULE_PARM_DESC ( force_pseudohp  ,
"Enable pseudo hot-plug feature manually by driver instead of BIOS."   
)
MODULE_PARM_DESC ( no_pseudohp  ,
"Disable pseudo hot-plug feature."   
)
MODULE_PARM_DESC ( no_extplug  ,
"Do not use external plug signal for pseudo hot-plug."   
)
MODULE_VERSION ( DRV_VERSION  )