• T
    ethoc: use system memory as buffer · 0baa080c
    Thomas Chou 提交于
    This patch enabled the ethoc to allocate system memory as buffer
    when there is no dedicated buffer memory.
    
    Some hardware designs may not have dedicated buffer memory such as
    on chip or off chip SRAM. In this case, only one memory resource is
    supplied in the platform data instead of two. Then a DMA buffer can
    be allocated from system memory and used for the transfer.
    Signed-off-by: NThomas Chou <thomas@wytron.com.tw>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    0baa080c
ethoc.c 26.9 KB