]> err.no Git - linux-2.6/commit
mv643xx_eth: Do not modify struct netdev tx_queue_len
authorDale Farnsworth <dale@farnsworth.org>
Mon, 1 Oct 2007 23:02:18 +0000 (16:02 -0700)
committerJeff Garzik <jeff@garzik.org>
Tue, 2 Oct 2007 16:55:10 +0000 (12:55 -0400)
commit593ff56ef2a23ed3a66ee87d9c9b33044b9fb193
tree722d8ac125c40de38285ca34683d2b3624b64e63
parent50626297b1beb0a29c0f174be39f36485533216c
mv643xx_eth: Do not modify struct netdev tx_queue_len

This driver erroneously zeros dev->tx_queue_len, since
mp->tx_ring_size has not yet been initialized.  Actually,
the driver shouldn't modify tx_queue_len at all and should
leave the value set by alloc_etherdev(), currently 1000.

Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/mv643xx_eth.c