Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sni_82596.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/bitops.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/irq.h>
#include "lib82596.c"

Go to the source code of this file.

Macros

#define SNI_82596_DRIVER_VERSION   "SNI RM 82596 driver - Revision: 0.01"
 
#define DMA_ALLOC   dma_alloc_coherent
 
#define DMA_FREE   dma_free_coherent
 
#define DMA_WBACK(priv, addr, len)   do { } while (0)
 
#define DMA_INV(priv, addr, len)   do { } while (0)
 
#define DMA_WBACK_INV(priv, addr, len)   do { } while (0)
 
#define SYSBUS   0x00004400
 
#define SWAP32(x)   cpu_to_le32((u32)(x))
 
#define SWAP16(x)   cpu_to_le16((u16)(x))
 
#define OPT_MPU_16BIT   0x01
 

Functions

 MODULE_AUTHOR ("Thomas Bogendoerfer")
 
 MODULE_DESCRIPTION ("i82596 driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:snirm_82596")
 
 module_param (i596_debug, int, 0)
 
 MODULE_PARM_DESC (i596_debug,"82596 debug mask")
 
 module_init (sni_82596_init)
 
 module_exit (sni_82596_exit)
 

Macro Definition Documentation

#define DMA_ALLOC   dma_alloc_coherent

Definition at line 27 of file sni_82596.c.

#define DMA_FREE   dma_free_coherent

Definition at line 28 of file sni_82596.c.

#define DMA_INV (   priv,
  addr,
  len 
)    do { } while (0)

Definition at line 30 of file sni_82596.c.

#define DMA_WBACK (   priv,
  addr,
  len 
)    do { } while (0)

Definition at line 29 of file sni_82596.c.

#define DMA_WBACK_INV (   priv,
  addr,
  len 
)    do { } while (0)

Definition at line 31 of file sni_82596.c.

#define OPT_MPU_16BIT   0x01

Definition at line 39 of file sni_82596.c.

#define SNI_82596_DRIVER_VERSION   "SNI RM 82596 driver - Revision: 0.01"

Definition at line 23 of file sni_82596.c.

#define SWAP16 (   x)    cpu_to_le16((u16)(x))

Definition at line 37 of file sni_82596.c.

#define SWAP32 (   x)    cpu_to_le32((u32)(x))

Definition at line 36 of file sni_82596.c.

#define SYSBUS   0x00004400

Definition at line 33 of file sni_82596.c.

Function Documentation

MODULE_ALIAS ( "platform:snirm_82596"  )
MODULE_AUTHOR ( "Thomas Bogendoerfer"  )
MODULE_DESCRIPTION ( "i82596 driver )
module_exit ( sni_82596_exit  )
module_init ( sni_82596_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( i596_debug  ,
int  ,
 
)
MODULE_PARM_DESC ( i596_debug  ,
"82596 debug mask  
)