qlge: bugfix: Fix ring length setting for rx ring, large/small
authorRon Mercer <ron.mercer@qlogic.com>
Mon, 5 Jan 2009 01:08:11 +0000 (17:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Jan 2009 01:08:11 +0000 (17:08 -0800)
commit459caf5a99cd066598192a86f8f63d73f0b423a6
tree6e8e7fd06f3e46c540eff2a25a89abc1a219ecd3
parent2b72c7849f9a091c1e5d7255732faf14ac7d5123
qlge: bugfix: Fix ring length setting for rx ring, large/small

The length field for these rings is 16-bits.  If the length is
the max supported 65536 then the setting should be zero.

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge_main.c