Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cnic.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/netdevice.h>
#include <linux/uio_driver.h>
#include <linux/in.h>
#include <linux/dma-mapping.h>
#include <linux/delay.h>
#include <linux/ethtool.h>
#include <linux/if_vlan.h>
#include <linux/prefetch.h>
#include <linux/random.h>
#include <net/ip.h>
#include <net/tcp.h>
#include <net/route.h>
#include <net/ipv6.h>
#include <net/ip6_route.h>
#include <net/ip6_checksum.h>
#include <scsi/iscsi_if.h>
#include "cnic_if.h"
#include "bnx2.h"
#include "bnx2x/bnx2x_reg.h"
#include "bnx2x/bnx2x_fw_defs.h"
#include "bnx2x/bnx2x_hsi.h"
#include "../../../scsi/bnx2i/57xx_iscsi_constants.h"
#include "../../../scsi/bnx2i/57xx_iscsi_hsi.h"
#include "../../../scsi/bnx2fc/bnx2fc_constants.h"
#include "cnic.h"
#include "cnic_defs.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define DRV_MODULE_NAME   "cnic"
 

Functions

 MODULE_AUTHOR ("Michael Chan <[email protected]> and John(Zongxi) ""Chen ([email protected]")
 
 MODULE_DESCRIPTION ("Broadcom NetXtreme II CNIC Driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (CNIC_MODULE_VERSION)
 
int cnic_register_driver (int ulp_type, struct cnic_ulp_ops *ulp_ops)
 
int cnic_unregister_driver (int ulp_type)
 
 EXPORT_SYMBOL (cnic_register_driver)
 
 EXPORT_SYMBOL (cnic_unregister_driver)
 
 module_init (cnic_init)
 
 module_exit (cnic_exit)
 

Macro Definition Documentation

#define DRV_MODULE_NAME   "cnic"

Definition at line 54 of file cnic.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 13 of file cnic.c.

Function Documentation

int cnic_register_driver ( int  ulp_type,
struct cnic_ulp_ops ulp_ops 
)

Definition at line 464 of file cnic.c.

int cnic_unregister_driver ( int  ulp_type)

Definition at line 505 of file cnic.c.

EXPORT_SYMBOL ( cnic_register_driver  )
EXPORT_SYMBOL ( cnic_unregister_driver  )
MODULE_AUTHOR ( )
MODULE_DESCRIPTION ( "Broadcom NetXtreme II CNIC Driver"  )
module_exit ( cnic_exit  )
module_init ( cnic_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( CNIC_MODULE_VERSION  )