summaryrefslogtreecommitdiff
path: root/include/net-common.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-03-10 07:49:17 -0600
committerTom Rini <trini@konsulko.com>2025-03-10 07:49:33 -0600
commit42fd94893e7e0fe4ee1e8c5efa35958459842da6 (patch)
tree50afa0a3327489e9e9ed4c54087b608301b2c9ce /include/net-common.h
parent743c15b9fdd2f639012a2c26734dc146dc568218 (diff)
parentcb21476496d6f48712b24045aa7cd3299ad65d99 (diff)
Merge tag 'efi-next-20250310' of https://source.denx.de/u-boot/custodians/u-boot-efi into next
Pull request efi-next-20250310 CI: * https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/25043 UEFI: * Clean up usage of structure jmp_buf_data * Refactor EFI network protocol implementation for future support of multiple network interfaces. - efi_net: let efi_net_set_dp properly update the device path - expose symbols to be used by the EFI network stack - efi_setup: Add efi_start_obj_list() to efi_setup.c - efi_net: Add efi_net_do_start() to efi_net.c - efi_device_path: Pass net udevice as argument - efi_net: Add device path cache - efi_net: Add dhcp cache - efi_net: Add support for multiple efi_net_obj Others: * legacy-net: wget: fix wget_info handling after new tcp legacy stack * lib: correct description of CONFIG_SYS_FDT_PAD * Separate setjmp.h into architecture dependent and independent parts - sandbox: remove linux/types.h dependency in setjmp.h - arm: include asm-generic/int-ll64.h in setjmp.h - common: clean up setjmp.h * arm: use type jmp_buf instead of struct jmp_buf_data
Diffstat (limited to 'include/net-common.h')
-rw-r--r--include/net-common.h1
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 */