patch-2.4.5 linux/drivers/scsi/aic7xxx/aic7xxx_linux_host.h

Next file: linux/drivers/scsi/aic7xxx/aic7xxx_linux_pci.c
Previous file: linux/drivers/scsi/aic7xxx/aic7xxx_linux.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.4/linux/drivers/scsi/aic7xxx/aic7xxx_linux_host.h linux/drivers/scsi/aic7xxx/aic7xxx_linux_host.h
@@ -28,24 +28,24 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $Id: //depot/src/linux/drivers/scsi/aic7xxx/aic7xxx_linux_host.h#2 $
+ * $Id: //depot/src/linux/drivers/scsi/aic7xxx/aic7xxx_linux_host.h#3 $
  */
 
 #ifndef _AIC7XXX_LINUX_HOST_H_
 #define _AIC7XXX_LINUX_HOST_H_
 
-int		 aic7xxx_proc_info(char *, char **, off_t, int, int, int);
-int		 aic7xxx_queue(Scsi_Cmnd *, void (*)(Scsi_Cmnd *));
-int		 aic7xxx_detect(Scsi_Host_Template *);
-int		 aic7xxx_release(struct Scsi_Host *);
-const char	*aic7xxx_info(struct Scsi_Host *);
-int		 aic7xxx_biosparam(Disk *, kdev_t, int[]);
-int		 aic7xxx_bus_reset(Scsi_Cmnd *);
-int		 aic7xxx_dev_reset(Scsi_Cmnd *);
-int		 aic7xxx_abort(Scsi_Cmnd *);
+int		 ahc_linux_proc_info(char *, char **, off_t, int, int, int);
+int		 ahc_linux_queue(Scsi_Cmnd *, void (*)(Scsi_Cmnd *));
+int		 ahc_linux_detect(Scsi_Host_Template *);
+int		 ahc_linux_release(struct Scsi_Host *);
+const char	*ahc_linux_info(struct Scsi_Host *);
+int		 ahc_linux_biosparam(Disk *, kdev_t, int[]);
+int		 ahc_linux_bus_reset(Scsi_Cmnd *);
+int		 ahc_linux_dev_reset(Scsi_Cmnd *);
+int		 ahc_linux_abort(Scsi_Cmnd *);
 
 #if defined(__i386__)
-#  define AIC7XXX_BIOSPARAM aic7xxx_biosparam
+#  define AIC7XXX_BIOSPARAM ahc_linux_biosparam
 #else
 #  define AIC7XXX_BIOSPARAM NULL
 #endif
@@ -58,23 +58,23 @@
 	next: NULL,						\
 	module: NULL,						\
 	proc_dir: NULL,						\
-	proc_info: aic7xxx_proc_info,				\
+	proc_info: ahc_linux_proc_info,				\
 	name: NULL,						\
-	detect: aic7xxx_detect,					\
-	release: aic7xxx_release,				\
-	info: aic7xxx_info,					\
+	detect: ahc_linux_detect,				\
+	release: ahc_linux_release,				\
+	info: ahc_linux_info,					\
 	command: NULL,						\
-	queuecommand: aic7xxx_queue,				\
+	queuecommand: ahc_linux_queue,				\
 	eh_strategy_handler: NULL,				\
-	eh_abort_handler: aic7xxx_abort,			\
-	eh_device_reset_handler: aic7xxx_dev_reset,		\
-	eh_bus_reset_handler: aic7xxx_bus_reset,		\
+	eh_abort_handler: ahc_linux_abort,			\
+	eh_device_reset_handler: ahc_linux_dev_reset,		\
+	eh_bus_reset_handler: ahc_linux_bus_reset,		\
 	eh_host_reset_handler: NULL,				\
 	abort: NULL,						\
 	reset: NULL,						\
 	slave_attach: NULL,					\
 	bios_param: AIC7XXX_BIOSPARAM,				\
-	can_queue: 254,		/* max simultaneous cmds      */\
+	can_queue: 253,		/* max simultaneous cmds      */\
 	this_id: -1,		/* scsi id of host adapter    */\
 	sg_tablesize: 0,	/* max scatter-gather cmds    */\
 	cmd_per_lun: 2,		/* cmds per lun		      */\

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