aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/natsemi.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2007-08-22 09:13:11 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:50:58 -0700
commit021fa22e01d3d0425d3d15df48f523b69a3a11c4 (patch)
tree6526993ff713b963d5c95acc9775f49dd135ff41 /drivers/net/natsemi.c
parent02df6cfa09c2ccebe685bfd54a708e1f50b00a81 (diff)
pasemi_mac: Fix TX ring wrap checking
The old logic didn't detect full (tx) ring cases properly, causing overruns and general badness. Clean it up a bit and abstract out the ring size checks, always making sure to leave 1 slot open. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/natsemi.c')
0 files changed, 0 insertions, 0 deletions