Olof Johansson 021fa22e01 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>
2007-10-10 16:50:58 -07:00
..
2007-10-10 16:47:47 -07:00
2007-09-20 02:35:50 -04:00
2007-09-15 19:35:14 -04:00
2007-08-14 01:34:53 -04:00
2007-08-25 02:31:04 -04:00
2007-07-30 15:48:16 -04:00
2007-07-30 15:48:16 -04:00
2007-10-10 16:50:46 -07:00
2007-10-10 16:50:46 -07:00
2007-07-26 11:35:17 -07:00
2007-08-25 02:30:59 -04:00
2007-10-10 16:50:24 -07:00
2007-10-10 16:50:54 -07:00
2007-10-10 16:50:54 -07:00
2007-08-26 18:35:39 -07:00
2007-10-10 16:49:00 -07:00
2007-08-03 16:07:58 +08:00
2007-10-10 16:50:30 -07:00