On 12/07/17 19:03, Heinrich Schuchardt wrote:
That patch seems to completely negate the purpose of the existing
efi_locate_device() function.  What is it that you are trying to achieve?

My understanding is that efi_locate_device is called with the system
handle from drivers/net/efi/snponly.c:82 to find the device that
supports the Simple Network Protocol.

Not quite. It's supposed to find the closest SNP-supporting parent of the specified device. The idea is not just to find any SNP, but to find the SNP from which iPXE itself was loaded. This makes a difference if the system has more than one SNP device.

Michael
_______________________________________________
ipxe-devel mailing list
[email protected]
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel

Reply via email to