aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/s2io.h
diff options
context:
space:
mode:
authorSreenivasa Honnur <Sreenivasa.Honnur@neterion.com>2007-05-10 04:06:28 -0400
committerJeff Garzik <jeff@garzik.org>2007-05-11 17:53:05 -0400
commit0cec35ebf341726e2490a4b01296a6dc132d1127 (patch)
treece444e2dceee27dfbd73db36d54ec92243bcdec5 /drivers/net/s2io.h
parent0a3fd051c7036ef71b58863f8e5da7c3dabd9d3f (diff)
S2IO: getringparam ethtool option
Adding get_ringparam ethtool option. Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/s2io.h')
-rw-r--r--drivers/net/s2io.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h
index a656d18b33df..8d9cd60658a2 100644
--- a/drivers/net/s2io.h
+++ b/drivers/net/s2io.h
@@ -308,6 +308,11 @@ struct stat_block {
308#define MAX_TX_FIFOS 8 308#define MAX_TX_FIFOS 8
309#define MAX_RX_RINGS 8 309#define MAX_RX_RINGS 8
310 310
311#define MAX_RX_DESC_1 (MAX_RX_RINGS * MAX_RX_BLOCKS_PER_RING * 127 )
312#define MAX_RX_DESC_2 (MAX_RX_RINGS * MAX_RX_BLOCKS_PER_RING * 85 )
313#define MAX_RX_DESC_3 (MAX_RX_RINGS * MAX_RX_BLOCKS_PER_RING * 85 )
314#define MAX_TX_DESC (MAX_AVAILABLE_TXDS)
315
311/* FIFO mappings for all possible number of fifos configured */ 316/* FIFO mappings for all possible number of fifos configured */
312static int fifo_map[][MAX_TX_FIFOS] = { 317static int fifo_map[][MAX_TX_FIFOS] = {
313 {0, 0, 0, 0, 0, 0, 0, 0}, 318 {0, 0, 0, 0, 0, 0, 0, 0},