From 7cf6c6bfedb9cda38bd1ea4a30035527cb5195d5 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 23 Oct 2012 14:05:03 -0700 Subject: [efi] Add EFI_COMPONENT_NAME2_PROTOCOL instance for each SNP device Signed-off-by: Michael Brown --- src/include/ipxe/efi/efi_snp.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/include/ipxe/efi') diff --git a/src/include/ipxe/efi/efi_snp.h b/src/include/ipxe/efi/efi_snp.h index 815649216..c86760908 100644 --- a/src/include/ipxe/efi/efi_snp.h +++ b/src/include/ipxe/efi/efi_snp.h @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -46,6 +47,8 @@ struct efi_snp_device { unsigned int rx_count_events; /** The network interface identifier */ EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL nii; + /** Component name protocol */ + EFI_COMPONENT_NAME2_PROTOCOL name2; /** HII configuration access protocol */ EFI_HII_CONFIG_ACCESS_PROTOCOL hii; /** HII package list */ @@ -54,6 +57,10 @@ struct efi_snp_device { EFI_HII_HANDLE hii_handle; /** Device name */ wchar_t name[ sizeof ( ( ( struct net_device * ) NULL )->name ) ]; + /** Driver name */ + wchar_t driver_name[16]; + /** Controller name */ + wchar_t controller_name[32]; /** The device path * * This field is variable in size and must appear at the end -- cgit v1.2.3-55-g7522