]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitabda821e00db540a1904f29e13413f3e10784d40
treefe7dd65a40f45fe87bf024defc86b73e3dad9e75
parent46dc671a0615de65ebfc85b6b82212aca388117f
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