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
- Lines: 16
- Date:
2003-08-25 04:44:40.000000000 -0700
- Orig file:
linux-2.4.21/drivers/acorn/scsi/queue.h
- Orig date:
2000-09-18 15:15:22.000000000 -0700
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)