[PATCH] pcnet32: set_ringparam implementation
authorHubert WS Lin <wslin@tw.ibm.com>
Wed, 14 Sep 2005 18:39:25 +0000 (11:39 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 16 Sep 2005 06:43:23 +0000 (02:43 -0400)
commiteabf04151682bc7b57c84fea58cf9e4e5a3cf2a9
tree82e41403e8b3f0dbf8f4a47bd90a5afc57142e36
parentf89efd523b25cc1702e074dafdcac283da657002
[PATCH] pcnet32: set_ringparam implementation

This patch implements the set_ringparam(), one of the ethtool operations,
which allows changing tx/rx ring sizes via ethtool.

- Changed memery allocation of tx/rx ring from static to dynamic
- Implemented set_ringparam()
- Tested on i386 and ppc64

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