Certain levels of IBM firmware will allow the system to boot from an
[yaboot.git] / second / prom.c
index 5ec06b88e7e1426b33e5a04050e4e4c3c607cea3..8cb8a41951a8fc9460d3543a30a46f7acb757a57 100644 (file)
@@ -174,6 +174,9 @@ prom_get_devtype (char *device)
      int        result;
      char       tmp[64];
 
+     if (strstr(device, TOK_ISCSI))
+         device = strcpy(tmp, "/vdevice/gscsi/disk");
+
      /* Find OF device phandle */
      dev = prom_finddevice(device);
      if (dev == PROM_INVALID_HANDLE) {