ofdisk: add a comment about vscsi method

This commit is contained in:
Paulo Flabiano Smorigo 2015-11-10 21:20:20 -02:00
parent 25a9b8f208
commit a50dbb743e

View file

@ -227,7 +227,10 @@ dev_iterate (const struct grub_ieee1275_devalias *alias)
if (grub_ieee1275_open (alias->path, &ihandle)) if (grub_ieee1275_open (alias->path, &ihandle))
return; return;
/* This method doesn't need memory allocation for the table. Open
firmware takes care of all memory management and the result table
stays in memory and is never freed. */
INIT_IEEE1275_COMMON (&args.common, "call-method", 2, 3); INIT_IEEE1275_COMMON (&args.common, "call-method", 2, 3);
args.method = (grub_ieee1275_cell_t) "vscsi-report-luns"; args.method = (grub_ieee1275_cell_t) "vscsi-report-luns";
args.ihandle = ihandle; args.ihandle = ihandle;