Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
fnic_main.c File Reference
#include <linux/module.h>
#include <linux/mempool.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/skbuff.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/workqueue.h>
#include <linux/if_ether.h>
#include <scsi/fc/fc_fip.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_transport.h>
#include <scsi/scsi_transport_fc.h>
#include <scsi/scsi_tcq.h>
#include <scsi/libfc.h>
#include <scsi/fc_frame.h>
#include "vnic_dev.h"
#include "vnic_intr.h"
#include "vnic_stats.h"
#include "fnic_io.h"
#include "fnic.h"

Go to the source code of this file.

Macros

#define PCI_DEVICE_ID_CISCO_FNIC   0x0045
 
#define FNIC_NOTIFY_TIMER_PERIOD   (2 * HZ)
 

Functions

 LIST_HEAD (fnic_list)
 
 DEFINE_SPINLOCK (fnic_list_lock)
 
 MODULE_DESCRIPTION (DRV_DESCRIPTION)
 
 MODULE_AUTHOR ("Abhijeet Joglekar <[email protected]>, ""Joseph R. Eykholt <[email protected]>")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_VERSION (DRV_VERSION)
 
 MODULE_DEVICE_TABLE (pci, fnic_id_table)
 
 module_param (fnic_log_level, int, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (fnic_log_level,"bit mask of fnic logging levels")
 
void fnic_log_q_error (struct fnic *fnic)
 
void fnic_handle_link_event (struct fnic *fnic)
 
 module_init (fnic_init_module)
 
 module_exit (fnic_cleanup_module)
 

Variables

unsigned int fnic_log_level
 

Macro Definition Documentation

#define FNIC_NOTIFY_TIMER_PERIOD   (2 * HZ)

Definition at line 47 of file fnic_main.c.

#define PCI_DEVICE_ID_CISCO_FNIC   0x0045

Definition at line 44 of file fnic_main.c.

Function Documentation

DEFINE_SPINLOCK ( fnic_list_lock  )
void fnic_handle_link_event ( struct fnic fnic)

Definition at line 241 of file fnic_main.c.

void fnic_log_q_error ( struct fnic fnic)

Definition at line 211 of file fnic_main.c.

LIST_HEAD ( fnic_list  )
MODULE_AUTHOR ( "Abhijeet Joglekar <[email protected] ,
""Joseph R.Eykholt< jeykholt @cisco.com >"   
)
MODULE_DESCRIPTION ( DRV_DESCRIPTION  )
MODULE_DEVICE_TABLE ( pci  ,
fnic_id_table   
)
module_exit ( fnic_cleanup_module  )
module_init ( fnic_init_module  )
MODULE_LICENSE ( "GPL v2 )
module_param ( fnic_log_level  ,
int  ,
S_IRUGO S_IWUSR 
)
MODULE_PARM_DESC ( fnic_log_level  ,
"bit mask of fnic logging levels"   
)
MODULE_VERSION ( DRV_VERSION  )

Variable Documentation

unsigned int fnic_log_level

Definition at line 67 of file fnic_main.c.