Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
pasemi_mac.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/dmaengine.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/of_mdio.h>
#include <linux/etherdevice.h>
#include <asm/dma-mapping.h>
#include <linux/in.h>
#include <linux/skbuff.h>
#include <linux/ip.h>
#include <linux/tcp.h>
#include <net/checksum.h>
#include <linux/inet_lro.h>
#include <linux/prefetch.h>
#include <asm/irq.h>
#include <asm/firmware.h>
#include <asm/pasemi_dma.h>
#include "pasemi_mac.h"

Go to the source code of this file.

Macros

#define LOCAL_SKB_ALIGN   2
 
#define LRO_MAX_AGGR   64
 
#define PE_MIN_MTU   64
 
#define PE_MAX_MTU   9000
 
#define PE_DEF_MTU   ETH_DATA_LEN
 
#define DEFAULT_MSG_ENABLE
 
#define TX_CLEAN_BATCHSIZE   (128/MAX_SKB_FRAGS)
 
#define TX_CLEAN_INTERVAL   HZ
 
#define MAX_RETRIES   5000
 

Functions

 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Olof Johansson <[email protected]>")
 
 MODULE_DESCRIPTION ("PA Semi PWRficient Ethernet driver")
 
 module_param (debug, int, 0)
 
 MODULE_PARM_DESC (debug,"PA Semi MAC bitmapped debugging message enable value")
 
 MODULE_DEVICE_TABLE (pci, pasemi_mac_pci_tbl)
 
int pasemi_mac_init_module (void)
 
 module_init (pasemi_mac_init_module)
 
 module_exit (pasemi_mac_cleanup_module)
 

Variables

struct ethtool_ops pasemi_mac_ethtool_ops
 

Macro Definition Documentation

#define DEFAULT_MSG_ENABLE
Value:
NETIF_MSG_PROBE | \
NETIF_MSG_LINK | \
NETIF_MSG_TIMER | \
NETIF_MSG_IFDOWN | \
NETIF_MSG_IFUP | \
NETIF_MSG_RX_ERR | \
NETIF_MSG_TX_ERR)

Definition at line 67 of file pasemi_mac.c.

#define LOCAL_SKB_ALIGN   2

Definition at line 51 of file pasemi_mac.c.

#define LRO_MAX_AGGR   64

Definition at line 61 of file pasemi_mac.c.

#define MAX_RETRIES   5000

Definition at line 1265 of file pasemi_mac.c.

#define PE_DEF_MTU   ETH_DATA_LEN

Definition at line 65 of file pasemi_mac.c.

#define PE_MAX_MTU   9000

Definition at line 64 of file pasemi_mac.c.

#define PE_MIN_MTU   64

Definition at line 63 of file pasemi_mac.c.

#define TX_CLEAN_BATCHSIZE   (128/MAX_SKB_FRAGS)

Definition at line 862 of file pasemi_mac.c.

#define TX_CLEAN_INTERVAL   HZ

Definition at line 983 of file pasemi_mac.c.

Function Documentation

MODULE_AUTHOR ( "Olof Johansson <[email protected]>"  )
MODULE_DESCRIPTION ( "PA Semi PWRficient Ethernet driver )
MODULE_DEVICE_TABLE ( pci  ,
pasemi_mac_pci_tbl   
)
module_exit ( pasemi_mac_cleanup_module  )
module_init ( pasemi_mac_init_module  )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
 
)
MODULE_PARM_DESC ( debug  ,
"PA Semi MAC bitmapped debugging message enable value  
)
int pasemi_mac_init_module ( void  )

Definition at line 1895 of file pasemi_mac.c.

Variable Documentation

struct ethtool_ops pasemi_mac_ethtool_ops

Definition at line 149 of file pasemi_mac_ethtool.c.