]> err.no Git - linux-2.6/commit
typhoon: missed rx overruns on big-endian
authorAl Viro <viro@ftp.linux.org.uk>
Fri, 21 Dec 2007 06:20:53 +0000 (06:20 +0000)
committerJeff Garzik <jeff@garzik.org>
Sun, 23 Dec 2007 03:53:05 +0000 (22:53 -0500)
commit8a5ed9efe661dd42bc140e522c2635e0d7b26141
tree9f37f414587fa25e4ab34290a67789f67d4dcc02
parentb46281f9c5d6ab7b6e412e83f8c62cecf4ebbdfd
typhoon: missed rx overruns on big-endian

rxBuffCleared is little-endian; we miss le32_to_cpu() in checks for
rx ring overruns.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/typhoon.c
drivers/net/typhoon.h