patch-2.3.43 linux/drivers/scsi/mesh.c

Next file: linux/drivers/scsi/pluto.c
Previous file: linux/drivers/scsi/ips.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/drivers/scsi/mesh.c linux/drivers/scsi/mesh.c
@@ -253,7 +253,7 @@
 			continue;
 		}
 		mesh_host->unique_id = nmeshes;
-#ifndef MODULE
+#if !defined(MODULE) && (defined(CONFIG_PMAC) || defined(CONFIG_ALL_PPC))
 		note_scsi_host(mesh, mesh_host);
 #endif
 
@@ -305,7 +305,9 @@
 		if (mesh_sync_period < minper)
 			mesh_sync_period = minper;
 
+#if defined(CONFIG_PMAC) || defined(CONFIG_ALL_PPC)
 		feature_set(mesh, FEATURE_MESH_enable);
+#endif
 		mdelay(200);
 
 		mesh_init(ms);

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