Treat iSCSI targets as block devices.
[yaboot.git] / second / prom.c
index fbadb2ac664632a9243fbaf4d44c9a6a273c466e..784994d5bbdc938099738a31b2fc7bdb8a137dd3 100644 (file)
@@ -196,7 +196,7 @@ prom_get_devtype (char *device)
      char       tmp[64];
 
      if (strstr(device, TOK_ISCSI))
-         device = strcpy(tmp, "/vdevice/gscsi/disk");
+         return FILE_DEVICE_ISCSI;
 
      /* Find OF device phandle */
      dev = prom_finddevice(device);