[TG3]: Add lower bound checks for tx ring size.
authorMichael Chan <mchan@broadcom.com>
Thu, 19 Oct 2006 03:55:18 +0000 (20:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Oct 2006 03:55:18 +0000 (20:55 -0700)
commitbc3a9254a7925b6278f6d882746fe6a0bdf6f610
tree862059bc23a8b602da144adef1f237afb0668489
parent42952231c6a8623117ee3cc89c82d382dc69ca30
[TG3]: Add lower bound checks for tx ring size.

The minimum tx ring size must be greater than MAX_SKB_FRAGS or 3
times that on some chips with TSO bugs.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c