2016-05-31 19:45:31 +00:00
|
|
|
From 5d47b56198754190c62179ae10ef175c00d1474d Mon Sep 17 00:00:00 2001
|
2016-04-07 14:59:58 +00:00
|
|
|
From: Peter Jones <pjones@redhat.com>
|
2016-05-31 19:45:31 +00:00
|
|
|
Date: Fri, 4 Mar 2016 15:13:59 -0500
|
|
|
|
Subject: [PATCH 55/80] Revert "reopen SNP protocol for exclusive use by grub"
|
2016-04-07 14:59:58 +00:00
|
|
|
|
2016-05-31 19:45:31 +00:00
|
|
|
This reverts commit a3f2c756ce34c9666bddef35e3b3b85ccecdcffc , which is
|
|
|
|
obsoleted by these:
|
2016-04-07 14:59:58 +00:00
|
|
|
|
2016-05-31 19:45:31 +00:00
|
|
|
49426e9 efinet: open Simple Network Protocol exclusively
|
|
|
|
f348aee efinet: enable hardware filters when opening interface
|
|
|
|
c52ae40 efinet: skip virtual IPv4 and IPv6 devices when enumerating cards
|
2016-04-07 14:59:58 +00:00
|
|
|
|
2016-05-31 19:45:31 +00:00
|
|
|
Signed-off-by: Peter Jones <pjones@redhat.com>
|
2016-04-07 14:59:58 +00:00
|
|
|
---
|
|
|
|
grub-core/net/drivers/efi/efinet.c | 16 ----------------
|
|
|
|
1 file changed, 16 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/grub-core/net/drivers/efi/efinet.c b/grub-core/net/drivers/efi/efinet.c
|
|
|
|
index ea0e0ca..5388f95 100644
|
|
|
|
--- a/grub-core/net/drivers/efi/efinet.c
|
|
|
|
+++ b/grub-core/net/drivers/efi/efinet.c
|
|
|
|
@@ -330,7 +330,6 @@ grub_efi_net_config_real (grub_efi_handle_t hnd, char **device,
|
|
|
|
{
|
|
|
|
struct grub_net_card *card;
|
|
|
|
grub_efi_device_path_t *dp;
|
|
|
|
- grub_efi_simple_network_t *net;
|
|
|
|
|
|
|
|
dp = grub_efi_get_device_path (hnd);
|
|
|
|
if (! dp)
|
|
|
|
@@ -384,21 +383,6 @@ grub_efi_net_config_real (grub_efi_handle_t hnd, char **device,
|
|
|
|
&pxe_mode->dhcp_ack,
|
|
|
|
sizeof (pxe_mode->dhcp_ack),
|
|
|
|
1, device, path);
|
|
|
|
- net = grub_efi_open_protocol (card->efi_handle, &net_io_guid,
|
|
|
|
- GRUB_EFI_OPEN_PROTOCOL_BY_EXCLUSIVE);
|
|
|
|
- if (net) {
|
|
|
|
- if (net->mode->state == GRUB_EFI_NETWORK_STOPPED
|
|
|
|
- && efi_call_1 (net->start, net) != GRUB_EFI_SUCCESS)
|
|
|
|
- continue;
|
|
|
|
-
|
|
|
|
- if (net->mode->state == GRUB_EFI_NETWORK_STOPPED)
|
|
|
|
- continue;
|
|
|
|
-
|
|
|
|
- if (net->mode->state == GRUB_EFI_NETWORK_STARTED
|
|
|
|
- && efi_call_3 (net->initialize, net, 0, 0) != GRUB_EFI_SUCCESS)
|
|
|
|
- continue;
|
|
|
|
- card->efi_net = net;
|
|
|
|
- }
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
--
|
2016-05-31 19:45:31 +00:00
|
|
|
2.7.4
|
2016-04-07 14:59:58 +00:00
|
|
|
|