pasemi_mac: workaround for erratum 5971
authorOlof Johansson <olof@lixom.net>
Tue, 2 Oct 2007 21:26:30 +0000 (16:26 -0500)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:54:24 +0000 (16:54 -0700)
commit9a50bebda95745d312c69d3bb6d788067cbefb84
tree5aaa75097fb0b62b22c0d833282fcb28a49a9d5c
parentad3c20d1ab586884f1815c315e3f303a8b8a7d7d
pasemi_mac: workaround for erratum 5971

pasemi_mac: workaround for erratum 5971

Implement workarounds for erratum 5971, where L2 hints aren't considered
properly unless the way hint is enabled on the interface. Since L2 isn't
setup to dedicate a way to headers, we need to reset the packet count
by hand so it won't run out of credits.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/pasemi_mac.c
drivers/net/pasemi_mac.h