mirror of
https://github.com/ipxe/ipxe
synced 2025-12-20 12:00:19 +03:00
[efi] Provide centralised definitions of commonly-used GUIDs
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -21,7 +21,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
|
||||
#include <errno.h>
|
||||
#include <ipxe/efi/efi.h>
|
||||
#include <ipxe/efi/Protocol/SimpleNetwork.h>
|
||||
#include <ipxe/efi/efi_driver.h>
|
||||
#include <ipxe/efi/efi_snp.h>
|
||||
#include "snpnet.h"
|
||||
@@ -32,10 +31,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
*
|
||||
*/
|
||||
|
||||
/** EFI simple network protocol GUID */
|
||||
static EFI_GUID efi_simple_network_protocol_guid
|
||||
= EFI_SIMPLE_NETWORK_PROTOCOL_GUID;
|
||||
|
||||
/**
|
||||
* Check to see if driver supports a device
|
||||
*
|
||||
|
||||
@@ -64,14 +64,6 @@ struct snp_nic {
|
||||
/** Maximum number of received packets per poll */
|
||||
#define SNP_RX_QUOTA 4
|
||||
|
||||
/** EFI simple network protocol GUID */
|
||||
static EFI_GUID efi_simple_network_protocol_guid
|
||||
= EFI_SIMPLE_NETWORK_PROTOCOL_GUID;
|
||||
|
||||
/** EFI PCI I/O protocol GUID */
|
||||
static EFI_GUID efi_pci_io_protocol_guid
|
||||
= EFI_PCI_IO_PROTOCOL_GUID;
|
||||
|
||||
/**
|
||||
* Format SNP MAC address (for debugging)
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user