summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2008-08-26 10:23:22 +0200
committerLennert Buytenhek <buytenh@marvell.com>2008-09-05 06:33:58 +0200
commitf7981c1c67b53abb4a7d8a501e68585b9826179a (patch)
tree3f94af4b599aaf693da7e03763a6c5efdcb86f8e /include
parent17cd0a59f9c34164c4f3bfe404894f5285bac112 (diff)
mv643xx_eth: require contiguous receive and transmit queue numbering
Simplify receive and transmit queue handling by requiring the set of queue numbers to be contiguous starting from zero. Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mv643xx_eth.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/mv643xx_eth.h b/include/linux/mv643xx_eth.h
index 12078577aef6..eb78b00edcde 100644
--- a/include/linux/mv643xx_eth.h
+++ b/include/linux/mv643xx_eth.h
@@ -49,10 +49,10 @@ struct mv643xx_eth_platform_data {
int duplex;
/*
- * Which RX/TX queues to use.
+ * How many RX/TX queues to use.
*/
- int rx_queue_mask;
- int tx_queue_mask;
+ int rx_queue_count;
+ int tx_queue_count;
/*
* Override default RX/TX queue sizes if nonzero.