]> git.karo-electronics.de Git - linux-beck.git/commit
[PATCH] pcnet32: set min ring size to 4
authorHubert WS Lin <wslin@tw.ibm.com>
Wed, 14 Sep 2005 18:39:27 +0000 (11:39 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 16 Sep 2005 06:43:23 +0000 (02:43 -0400)
commit76209926e3756f66c9cdc8a4becbf34df8c47799
tree173b55358f0864026fe9957407409f8613448ed4
parenteabf04151682bc7b57c84fea58cf9e4e5a3cf2a9
[PATCH] pcnet32: set min ring size to 4

Don Fry reminded me that the pcnet32_loopback_test() asssumes the ring size
is no less than 4.  The minimum ring size was changed to 4 in
pcnet32_set_ringparam() to allow the loopback test to work unchanged.

- Set minimum ring size to 4 to allow loopback test to work unchanged
- Moved variable init_block to first field in struct pcnet32_private

Signed-off-by: Hubert WS Lin <wslin@tw.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/pcnet32.c