]> git.sur5r.net Git - u-boot/commit
net/ethoc: support private memory configurations
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 5 Aug 2016 15:26:20 +0000 (18:26 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Aug 2016 18:34:48 +0000 (13:34 -0500)
commit59b7dfa0d1dd54752427fc5f8b80e3f72e847298
tree4957c45f95fe343087fa6179fae564bfe6558b64
parent02a888b567df92904eb0783f4f19a3f744064159
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>
drivers/net/ethoc.c
include/dm/platform_data/net_ethoc.h