|
@@ -33,6 +33,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
33
|
33
|
#include <ipxe/efi/efi_driver.h>
|
34
|
34
|
#include <ipxe/efi/efi_strings.h>
|
35
|
35
|
#include <ipxe/efi/efi_snp.h>
|
|
36
|
+#include <config/general.h>
|
36
|
37
|
|
37
|
38
|
/** EFI simple network protocol GUID */
|
38
|
39
|
static EFI_GUID efi_simple_network_protocol_guid
|
|
@@ -849,11 +850,12 @@ static int efi_snp_probe ( struct net_device *netdev ) {
|
849
|
850
|
/* Populate the component name structure */
|
850
|
851
|
efi_snprintf ( snpdev->driver_name,
|
851
|
852
|
( sizeof ( snpdev->driver_name ) /
|
852
|
|
- sizeof ( snpdev->driver_name[0] ) ), "%s",
|
853
|
|
- netdev->dev->driver_name );
|
|
853
|
+ sizeof ( snpdev->driver_name[0] ) ),
|
|
854
|
+ PRODUCT_SHORT_NAME " %s", netdev->dev->driver_name );
|
854
|
855
|
efi_snprintf ( snpdev->controller_name,
|
855
|
856
|
( sizeof ( snpdev->controller_name ) /
|
856
|
|
- sizeof ( snpdev->controller_name[0] ) ), "%s (%s)",
|
|
857
|
+ sizeof ( snpdev->controller_name[0] ) ),
|
|
858
|
+ PRODUCT_SHORT_NAME " %s (%s)",
|
857
|
859
|
netdev->name, netdev_addr ( netdev ) );
|
858
|
860
|
snpdev->name2.GetDriverName = efi_snp_get_driver_name;
|
859
|
861
|
snpdev->name2.GetControllerName = efi_snp_get_controller_name;
|