Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
tehuti.c File Reference
#include "tehuti.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define bdx_enable_interrupts(priv)   do { WRITE_REG(priv, regIMR, IR_RUN); } while (0)
 
#define bdx_disable_interrupts(priv)   do { WRITE_REG(priv, regIMR, 0); } while (0)
 
#define BDX_IRQ_TYPE   ((priv->nic->irq_type == IRQ_MSI) ? 0 : IRQF_SHARED)
 

Functions

 MODULE_DEVICE_TABLE (pci, bdx_pci_tbl)
 
 module_init (bdx_module_init)
 
 module_exit (bdx_module_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_DESCRIPTION (BDX_DRV_DESC)
 
 MODULE_FIRMWARE ("tehuti/bdx.bin")
 

Macro Definition Documentation

#define bdx_disable_interrupts (   priv)    do { WRITE_REG(priv, regIMR, 0); } while (0)

Definition at line 137 of file tehuti.c.

#define bdx_enable_interrupts (   priv)    do { WRITE_REG(priv, regIMR, IR_RUN); } while (0)

Definition at line 135 of file tehuti.c.

#define BDX_IRQ_TYPE   ((priv->nic->irq_type == IRQ_MSI) ? 0 : IRQF_SHARED)
#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 65 of file tehuti.c.

Function Documentation

MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( BDX_DRV_DESC  )
MODULE_DEVICE_TABLE ( pci  ,
bdx_pci_tbl   
)
module_exit ( bdx_module_exit  )
MODULE_FIRMWARE ( "tehuti/bdx.bin"  )
module_init ( bdx_module_init  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

u16 bytes

Definition at line 1482 of file tehuti.c.

u16 qwords

Definition at line 1483 of file tehuti.c.