ethoc: fix buffer address mapping
authorThomas Chou <thomas@wytron.com.tw>
Sun, 4 Oct 2009 23:33:18 +0000 (23:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2009 10:50:12 +0000 (03:50 -0700)
commit3ee19a85bb428b8363699dff9e1c4041c107d46a
treefe7dd65a40f45fe87bf024defc86b73e3dad9e75
parent639b62a5284fab27122ec607fe341eb8e29411f4
ethoc: fix buffer address mapping

The pointer address in buffer descriptors is physical address. The
pointer that processor used to access packet is virtual address.

Though the higher bits of pointer address used by the MAC may be
truncated to zero in special case, it is not always true in larger
designs.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethoc.c