mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 09:27:35 +00:00
59b7dfa0d1
The ethoc device can be configured to have a private memory region instead of having access to the main memory. In that case egress packets must be copied into that memory for transmission and pointers to that memory need to be passed to net_process_received_packet or returned from the recv callback. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
21 lines
286 B
C
21 lines
286 B
C
/*
|
|
* Copyright (C) 2016 Cadence Design Systems Inc.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0
|
|
*/
|
|
|
|
#ifndef _ETHOC_H
|
|
#define _ETHOC_H
|
|
|
|
#include <net.h>
|
|
|
|
#ifdef CONFIG_DM_ETH
|
|
|
|
struct ethoc_eth_pdata {
|
|
struct eth_pdata eth_pdata;
|
|
phys_addr_t packet_base;
|
|
};
|
|
|
|
#endif
|
|
|
|
#endif /* _ETHOC_H */
|