Il 01/10/2012 00:11, Laszlo Ersek ha scritto:
> +  } else if (NumNodes >= 3 &&
> +             SubstringEq (OfwNode[1].DriverName, "scsi") &&

Are you sure this is "scsi" and not "virtio-blk-pci"?

Paolo

> +             SubstringEq (OfwNode[2].DriverName, "disk")
> +             ) {
> +    //
> +    // OpenFirmware device path (virtio-blk disk):
> +    //
> +    //   /pci@i0cf8/scsi@6[,3]/disk@0,0
> +    //        ^          ^  ^       ^ ^
> +    //        |          |  |       fixed
> +    //        |          |  PCI function corresponding to disk (optional)
> +    //        |          PCI slot holding disk
> +    //        PCI root at system bus port, PIO
> +    //
> +    // UEFI device path prefix:
> +    //
> +    //   PciRoot(0x0)/Pci(0x6,0x0)/HD( -- if PCI function is 0 or absent
> +    //   PciRoot(0x0)/Pci(0x6,0x3)/HD( -- if PCI function is present and 
> nonzero
> +    //
> +    Written = UnicodeSPrintAsciiFormat (
> +      Translated,
> +      *TranslatedSize * sizeof (*Translated), // BufferSize in bytes
> +      "PciRoot(0x0)/Pci(0x%x,0x%x)/HD(",
> +      PciDevFun[0],
> +      PciDevFun[1]
> +      );


------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to