Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
mptlan.h File Reference
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/errno.h>
#include <linux/fcdevice.h>
#include <linux/skbuff.h>
#include <linux/if_arp.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/miscdevice.h>
#include <linux/spinlock.h>
#include <linux/workqueue.h>
#include <linux/delay.h>
#include <asm/uaccess.h>
#include <asm/io.h>
#include "mptbase.h"

Go to the source code of this file.

Macros

#define MODULEAUTHOR   "LSI Corporation"
 
#define LANAME   "Fusion MPT LAN driver"
 
#define LANVER   MPT_LINUX_VERSION_COMMON
 
#define MPT_LAN_MAX_BUCKETS_OUT   256
 
#define MPT_LAN_BUCKET_THRESH   18 /* 9 buckets in one message */
 
#define MPT_LAN_BUCKETS_REMAIN_MISMATCH_THRESH   10
 
#define MPT_LAN_RX_COPYBREAK   200
 
#define MPT_LAN_TX_TIMEOUT   (1*HZ)
 
#define MPT_TX_MAX_OUT_LIM   127
 
#define MPT_LAN_MIN_MTU   96 /* RFC2625 */
 
#define MPT_LAN_MAX_MTU   65280 /* RFC2625 */
 
#define MPT_LAN_MTU
 
#define MPT_LAN_NAA_RFC2625   0x1
 
#define MPT_LAN_NAA_QLOGIC   0x2
 
#define MPT_LAN_RESOURCE_FLAG_RETURN_POSTED_BUCKETS   0x01
 
#define MPT_LAN_RESOURCE_FLAG_RETURN_PEND_TRANSMITS   0x02
 
#define dioprintk(x)
 
#define dlprintk(x)
 
#define NETDEV_TO_LANPRIV_PTR(d)   ((struct mpt_lan_priv *)netdev_priv(d))
 
#define NETDEV_PTR_TO_IOC_NAME_s(d)   (NETDEV_TO_LANPRIV_PTR(d)->mpt_dev->name)
 
#define IOC_AND_NETDEV_NAMES_s_s(d)   NETDEV_PTR_TO_IOC_NAME_s(d), (d)->name
 

Macro Definition Documentation

#define dioprintk (   x)

Definition at line 114 of file mptlan.h.

#define dlprintk (   x)

Definition at line 120 of file mptlan.h.

#define IOC_AND_NETDEV_NAMES_s_s (   d)    NETDEV_PTR_TO_IOC_NAME_s(d), (d)->name

Definition at line 125 of file mptlan.h.

#define LANAME   "Fusion MPT LAN driver"

Definition at line 82 of file mptlan.h.

#define LANVER   MPT_LINUX_VERSION_COMMON

Definition at line 83 of file mptlan.h.

#define MODULEAUTHOR   "LSI Corporation"

Definition at line 77 of file mptlan.h.

#define MPT_LAN_BUCKET_THRESH   18 /* 9 buckets in one message */

Definition at line 92 of file mptlan.h.

#define MPT_LAN_BUCKETS_REMAIN_MISMATCH_THRESH   10

Definition at line 93 of file mptlan.h.

#define MPT_LAN_MAX_BUCKETS_OUT   256

Definition at line 91 of file mptlan.h.

#define MPT_LAN_MAX_MTU   65280 /* RFC2625 */

Definition at line 99 of file mptlan.h.

#define MPT_LAN_MIN_MTU   96 /* RFC2625 */

Definition at line 98 of file mptlan.h.

#define MPT_LAN_MTU
Value:
13312 /* Max perf range + lower mem
usage than 16128 */

Definition at line 100 of file mptlan.h.

#define MPT_LAN_NAA_QLOGIC   0x2

Definition at line 103 of file mptlan.h.

#define MPT_LAN_NAA_RFC2625   0x1

Definition at line 102 of file mptlan.h.

#define MPT_LAN_RESOURCE_FLAG_RETURN_PEND_TRANSMITS   0x02

Definition at line 108 of file mptlan.h.

#define MPT_LAN_RESOURCE_FLAG_RETURN_POSTED_BUCKETS   0x01

Definition at line 107 of file mptlan.h.

#define MPT_LAN_RX_COPYBREAK   200

Definition at line 94 of file mptlan.h.

#define MPT_LAN_TX_TIMEOUT   (1*HZ)

Definition at line 95 of file mptlan.h.

#define MPT_TX_MAX_OUT_LIM   127

Definition at line 96 of file mptlan.h.

#define NETDEV_PTR_TO_IOC_NAME_s (   d)    (NETDEV_TO_LANPRIV_PTR(d)->mpt_dev->name)

Definition at line 124 of file mptlan.h.

#define NETDEV_TO_LANPRIV_PTR (   d)    ((struct mpt_lan_priv *)netdev_priv(d))

Definition at line 123 of file mptlan.h.