DC395X_QUEUE_COMMAND

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

dc395x_queue_command - queue scsi command passed from the mid  

SYNOPSIS

"SYNOPSIS"

int dc395x_queue_command (Scsi_Cmnd * cmd, void (*done) Scsi_Cmnd *);  

ARGUMENTS

cmd
pointer to scsi command object
done
function pointer to be invoked on completion
 

DESCRIPTION

Returns 1 if the adapter (host) is busy, else returns 0. One reason for an adapter to be busy is that the number of outstanding queued commands is already equal to  

DESCRIPTION

Returns 1 if the adapter (host) is busy, else returns 0. One reason for an adapter to be busy is that the number of outstanding queued commands is already equal to  

STRUCT SCSI_HOST

:can_queue .  

REQUIRED

if struct Scsi_Host::can_queue is ever non-zero then this function is required.  

LOCKS

struct Scsi_Host::host_lock held on entry (with ``irqsave'') and is expected to be held on return.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
DESCRIPTION
STRUCT SCSI_HOST
REQUIRED
LOCKS

This document was created by man2html, using the manual pages.
Time: 06:20:44 GMT, October 06, 2005