[ipxe-devel] [PATCH 1/1] efi: reimplement efi_locate_device

Michael Brown mcb30 at ipxe.org
Wed Jul 12 17:49:48 UTC 2017


On 12/07/17 18:46, Heinrich Schuchardt wrote:
> Currently efi_locate_device looks for a device supporting a
> protocol only in the list of parents. This leads to errors like
> EFIDEV mmc at 72000.blk has no parent supporting SimpleNetwork
> 
> Obviously looking for a network protocol in a block device or
> its parents does not make sense.
> 
> With the patch efi_locate_device returns the device if it supports
> the protocol. Otherwise it returns the fist device it can find
> supporting the protocol.

That patch seems to completely negate the purpose of the existing 
efi_locate_device() function.  What is it that you are trying to achieve?

Michael




More information about the ipxe-devel mailing list