This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / include / scsi / scsi_host.h
index 2d3265c..abba7b4 100644 (file)
@@ -30,12 +30,6 @@ struct scsi_transport_template;
 #define DISABLE_CLUSTERING 0
 #define ENABLE_CLUSTERING 1
 
-enum scsi_eh_timer_return {
-       EH_NOT_HANDLED,
-       EH_HANDLED,
-       EH_RESET_TIMER,
-};
-
 
 struct scsi_host_template {
        struct module *module;
@@ -70,7 +64,7 @@ struct scsi_host_template {
         *
         * Status: OPTIONAL
         */
-       int (* ioctl)(struct scsi_device *dev, int cmd, void __user *arg);
+       int (* ioctl)(struct scsi_device *dev, int cmd, void *arg);
        
        /*
         * The queuecommand function is used to queue up a scsi
@@ -131,20 +125,6 @@ struct scsi_host_template {
        int (* eh_bus_reset_handler)(struct scsi_cmnd *);
        int (* eh_host_reset_handler)(struct scsi_cmnd *);
 
-       /*
-        * This is an optional routine to notify the host that the scsi
-        * timer just fired.  The returns tell the timer routine what to
-        * do about this:
-        *
-        * EH_HANDLED:          I fixed the error, please complete the command
-        * EH_RESET_TIMER:      I need more time, reset the timer and
-        *                      begin counting again
-        * EH_NOT_HANDLED       Begin normal error recovery
-        *
-        * Status: OPTIONAL
-        */
-       enum scsi_eh_timer_return (* eh_timed_out)(struct scsi_cmnd *);
-
        /*
         * Old EH handlers, no longer used. Make them warn the user of old
         * drivers by using a wrong type