Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
qlogicpti.c File Reference
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/gfp.h>
#include <linux/blkdev.h>
#include <linux/proc_fs.h>
#include <linux/stat.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/jiffies.h>
#include <linux/dma-mapping.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/firmware.h>
#include <asm/byteorder.h>
#include "qlogicpti.h"
#include <asm/dma.h>
#include <asm/ptrace.h>
#include <asm/pgtable.h>
#include <asm/oplib.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_eh.h>
#include <scsi/scsi_tcq.h>
#include <scsi/scsi_host.h>

Go to the source code of this file.

Macros

#define MAX_TARGETS   16
 
#define MAX_LUNS   8 /* 32 for 1.31 F/W */
 
#define DEFAULT_LOOP_COUNT   10000
 
#define PACKB(a, b)   (((a)<<4)|(b))
 
#define MAX_MBOX_COMMAND   ARRAY_SIZE(mbox_param)
 
#define QUEUE_DEPTH(in, out, ql)   ((in - out) & (ql))
 
#define REQ_QUEUE_DEPTH(in, out)
 
#define RES_QUEUE_DEPTH(in, out)   QUEUE_DEPTH(in, out, RES_QUEUE_LEN)
 
#define PTI_RESET_LIMIT   400
 
#define QSIZE(entries)   (((entries) + 1) * QUEUE_ENTRY_LEN)
 
#define QSIZE(entries)   (((entries) + 1) * QUEUE_ENTRY_LEN)
 
#define QSIZE(entries)   (((entries) + 1) * QUEUE_ENTRY_LEN)
 

Functions

const charqlogicpti_info (struct Scsi_Host *host)
 
 MODULE_DEVICE_TABLE (of, qpti_match)
 
 MODULE_DESCRIPTION ("QlogicISP SBUS driver")
 
 MODULE_AUTHOR ("David S. Miller ([email protected])")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION ("2.1")
 
 MODULE_FIRMWARE ("qlogic/isp1000.bin")
 
 module_init (qpti_init)
 
 module_exit (qpti_exit)
 

Macro Definition Documentation

#define DEFAULT_LOOP_COUNT   10000

Definition at line 54 of file qlogicpti.c.

#define MAX_LUNS   8 /* 32 for 1.31 F/W */

Definition at line 52 of file qlogicpti.c.

#define MAX_MBOX_COMMAND   ARRAY_SIZE(mbox_param)

Definition at line 131 of file qlogicpti.c.

#define MAX_TARGETS   16

Definition at line 51 of file qlogicpti.c.

#define PACKB (   a,
  b 
)    (((a)<<4)|(b))

Definition at line 59 of file qlogicpti.c.

#define PTI_RESET_LIMIT   400

Definition at line 462 of file qlogicpti.c.

#define QSIZE (   entries)    (((entries) + 1) * QUEUE_ENTRY_LEN)
#define QSIZE (   entries)    (((entries) + 1) * QUEUE_ENTRY_LEN)
#define QSIZE (   entries)    (((entries) + 1) * QUEUE_ENTRY_LEN)
#define QUEUE_DEPTH (   in,
  out,
  ql 
)    ((in - out) & (ql))

Definition at line 134 of file qlogicpti.c.

#define REQ_QUEUE_DEPTH (   in,
  out 
)
Value:

Definition at line 135 of file qlogicpti.c.

#define RES_QUEUE_DEPTH (   in,
  out 
)    QUEUE_DEPTH(in, out, RES_QUEUE_LEN)

Definition at line 137 of file qlogicpti.c.

Function Documentation

MODULE_AUTHOR ( "David S. Miller ([email protected])"  )
MODULE_DESCRIPTION ( "QlogicISP SBUS driver )
MODULE_DEVICE_TABLE ( of  ,
qpti_match   
)
module_exit ( qpti_exit  )
MODULE_FIRMWARE ( "qlogic/isp1000.bin"  )
module_init ( qpti_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( "2.1"  )
const char* qlogicpti_info ( struct Scsi_Host host)

Definition at line 835 of file qlogicpti.c.