aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2007-08-22 10:13:11 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:50:58 -0400
commit021fa22e01d3d0425d3d15df48f523b69a3a11c4 (patch)
tree6526993ff713b963d5c95acc9775f49dd135ff41 /drivers/net/phy
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/phy')
0 files changed, 0 insertions, 0 deletions