patch-2.1.113 linux/drivers/scsi/atari_scsi.c

Next file: linux/drivers/scsi/bvme6000.c
Previous file: linux/drivers/scsi/amiga7xx.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.112/linux/drivers/scsi/atari_scsi.c linux/drivers/scsi/atari_scsi.c
@@ -206,7 +206,9 @@
 static void falcon_release_lock_if_possible( struct NCR5380_hostdata *
                                              hostdata );
 static void falcon_get_lock( void );
+#ifdef CONFIG_ATARI_SCSI_RESET_BOOT
 static void atari_scsi_reset_boot( void );
+#endif
 static unsigned char atari_scsi_tt_reg_read( unsigned char reg );
 static void atari_scsi_tt_reg_write( unsigned char reg, unsigned char value);
 static unsigned char atari_scsi_falcon_reg_read( unsigned char reg );
@@ -675,7 +677,9 @@
         * IDE and floppy! */
        instance->irq = 0;
 
+#ifdef CONFIG_ATARI_SCSI_RESET_BOOT
 	atari_scsi_reset_boot();
+#endif
 	NCR5380_init (instance, 0);
 
 	if (IS_A_TT()) {
@@ -864,6 +868,7 @@
 }
 
 	
+#ifdef CONFIG_ATARI_SCSI_RESET_BOOT
 __initfunc(static void atari_scsi_reset_boot( void ))
 {
 	unsigned long end;
@@ -892,6 +897,7 @@
 
 	printk( " done\n" );
 }
+#endif
 
 
 const char * atari_scsi_info (struct Scsi_Host *host)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov