patch-2.3.99-pre6 linux/drivers/scsi/sym53c8xx_comm.h

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

diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/scsi/sym53c8xx_comm.h linux/drivers/scsi/sym53c8xx_comm.h
@@ -2178,7 +2178,7 @@
 			++cur;
 	}
 #endif /* SCSI_NCR_BOOT_COMMAND_LINE_SUPPORT */
-	return 0;
+	return 1;
 }
 
 /*===================================================================
@@ -2817,10 +2817,12 @@
 				if (!ncr_attach (tpnt, attach_count, devp))
 					attach_count++;
 			}
+#if 0	/* Restore previous behaviour of ncr53c8xx driver */
 			else if (!(driver_setup.use_nvram & 0x80))
 				printk(KERN_INFO NAME53C8XX
 				       ": 53c%s state OFF thus not attached\n",
 				       devp->chip.name);
+#endif
 			else
 				continue;
 

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