summaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2016-08-05 15:26:20 (GMT)
committerJoe Hershberger <joe.hershberger@ni.com>2016-08-15 18:34:48 (GMT)
commit59b7dfa0d1dd54752427fc5f8b80e3f72e847298 (patch)
tree4957c45f95fe343087fa6179fae564bfe6558b64 /include/dm
parent02a888b567df92904eb0783f4f19a3f744064159 (diff)
downloadu-boot-59b7dfa0d1dd54752427fc5f8b80e3f72e847298.tar.xz
net/ethoc: support private memory configurations
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>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/platform_data/net_ethoc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/platform_data/net_ethoc.h b/include/dm/platform_data/net_ethoc.h
index 1d8c73c..3f94bde 100644
--- a/include/dm/platform_data/net_ethoc.h
+++ b/include/dm/platform_data/net_ethoc.h
@@ -13,6 +13,7 @@
struct ethoc_eth_pdata {
struct eth_pdata eth_pdata;
+ phys_addr_t packet_base;
};
#endif