patch-2.4.22 linux-2.4.22/drivers/acorn/scsi/queue.h

Next file: linux-2.4.22/drivers/acorn/scsi/scsi.h
Previous file: linux-2.4.22/drivers/acorn/scsi/queue.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/acorn/scsi/queue.h linux-2.4.22/drivers/acorn/scsi/queue.h
@@ -74,6 +74,15 @@
 extern Scsi_Cmnd *queue_remove_tgtluntag (Queue_t *queue, int target, int lun, int tag);
 
 /*
+ * Function: queue_remove_all_target(queue, target)
+ * Purpose : remove all SCSI commands from the queue for a specified target
+ * Params  : queue  - queue to remove command from
+ *           target - target device id
+ * Returns : nothing
+ */
+extern void queue_remove_all_target(Queue_t *queue, int target);
+
+/*
  * Function: int queue_probetgtlun (queue, target, lun)
  * Purpose : check to see if we have a command in the queue for the specified
  *	     target/lun.

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)