summaryrefslogtreecommitdiffstats
path: root/drivers/net/spider_net.h
diff options
context:
space:
mode:
authorJim Lewis <jim@jklewis.com>2006-08-14 23:00:23 -0700
committerJeff Garzik <jeff@garzik.org>2006-08-19 17:44:30 -0400
commitb68a60e598c0d1e738c807c47cb181e8cc52a0d8 (patch)
treecc06e0cd5a74c4ebdc5e5fecd2ab7a47d28f8130 /drivers/net/spider_net.h
parent7e29f8bf39de372e3903a0b12f34285d30a8a244 (diff)
downloadlinux-b68a60e598c0d1e738c807c47cb181e8cc52a0d8.tar.gz
linux-b68a60e598c0d1e738c807c47cb181e8cc52a0d8.tar.bz2
linux-b68a60e598c0d1e738c807c47cb181e8cc52a0d8.zip
[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>
Diffstat (limited to 'drivers/net/spider_net.h')
-rw-r--r--drivers/net/spider_net.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/spider_net.h b/drivers/net/spider_net.h
index f6dcf180ae3d..30407cdf0892 100644
--- a/drivers/net/spider_net.h
+++ b/drivers/net/spider_net.h
@@ -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];
};