[PATCH] Add ethtool -g support to Spidernet network driver

Add ethtool -g (show ring sizes) support to the Spidernet network driver.

Signed-off-by: James K Lewis <jklewis@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
Jim Lewis
2006-08-14 23:00:23 -07:00
committed by Jeff Garzik
parent 7e29f8bf39
commit b68a60e598
3 changed files with 23 additions and 5 deletions

View File

@@ -440,6 +440,9 @@ struct spider_net_card {
/* for ethtool */
int msg_enable;
int rx_desc;
int tx_desc;
struct spider_net_descr descr[0];
};