]> git.ozlabs.org Git - tonyb-yaboot.git/blobdiff - second/file.c
Treat iSCSI targets as block devices.
[tonyb-yaboot.git] / second / file.c
index 466abf238eae53c3604e32707416753642a4db31..a52b664e8900c6e789764c696f5d4e61ab9fab0d 100644 (file)
@@ -675,6 +675,9 @@ int open_file(struct boot_fspec_t* spec, struct boot_file_t* file)
      case FILE_DEVICE_BLOCK:
          DEBUG_F("device is a block device\n");
          return file_block_open(file, spec, spec->part);
+     case FILE_DEVICE_ISCSI:
+         DEBUG_F("device is a iSCSI device\n");
+         return file_block_open(file, spec, spec->part);
      case FILE_DEVICE_NET:
          DEBUG_F("device is a network device\n");
          return file_net_open(file, spec);