diff options
| author | Adriano Cordova <[email protected]> | 2025-03-03 11:13:11 -0300 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2025-03-10 06:41:05 +0100 |
| commit | 74829b4d93dcdaab5b87f8432b62bf198895c692 (patch) | |
| tree | 30b28f325a2b7a47c48d1b865a87025dac85b186 /include/net-common.h | |
| parent | 908033ea22605615c3a033408d5c3ceb6446b09a (diff) | |
efi_loader: expose symbols to be used by the EFI network stack
The following symbols are exposed:
- efi_reinstall_protocol_interface
This is done so that the device path protocol interface
of the network device can be changed internally by u-boot
when a new bootfile gets downloaded.
- eth_set_dev
To support multiple network udevices
- efi_close_event
This comes in preparation to support unregistering
an EFI network device from the EFI network stack when
the underlying U-boot device gets removed
- efi_[dis]connect_controller
The EFI network driver uses ConnectController to add a
NIC to the EFI network stack.
- efi_uninstall_protocol_interface
connect_controler for the efi network driver can install
protocols, which need to be uninstalled in disconnect_controller
- EFI_SIMPLE_NETWORK_PROTOCOL_GUID
Signed-off-by: Adriano Cordova <[email protected]>
Diffstat (limited to 'include/net-common.h')
| -rw-r--r-- | include/net-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net-common.h b/include/net-common.h index 29d31f37263..1d507b13b06 100644 --- a/include/net-common.h +++ b/include/net-common.h @@ -291,6 +291,7 @@ struct eth_ops { #define eth_get_ops(dev) ((struct eth_ops *)(dev)->driver->ops) struct udevice *eth_get_dev(void); /* get the current device */ +void eth_set_dev(struct udevice *dev); /* set a device */ unsigned char *eth_get_ethaddr(void); /* get the current device MAC */ int eth_rx(void); /* Check for received packets */ void eth_halt(void); /* stop SCC */ |
