diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2009-10-04 23:33:20 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-07 03:50:14 -0700 |
commit | 0baa080c75cea6357bfba9b93ba598d747457cbd (patch) | |
tree | fdfc6dbcb0d93226dd95a84d31192f43d147cfb6 /fs | |
parent | 050f91dcd9a45a14449dded5180f633692b588d2 (diff) |
ethoc: use system memory as buffer
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: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions