]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
ethoc: fix typo to compute number of tx descriptors
authorThomas Chou <thomas@wytron.com.tw>
Sun, 4 Oct 2009 23:33:17 +0000 (23:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2009 10:50:11 +0000 (03:50 -0700)
commit639b62a5284fab27122ec607fe341eb8e29411f4
treeae46656a6898f07d5a8f28ae0674b0762fe636e0
parent4989ccb25cc2a6d03d3503a2c852644f9a750948
ethoc: fix typo to compute number of tx descriptors

It should be max() instead of min(). Use 1/4 of available
descriptors for tx, and there should be at least 2 tx
descriptors.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethoc.c