mv643xx_eth: only unmask RX and TX_END interrupts for available queues
authorSaeed Bishara <saeed@marvell.com>
Wed, 6 May 2009 03:02:01 +0000 (03:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 May 2009 22:33:39 +0000 (15:33 -0700)
commite0ca84105bca8691f39ef7ff221a88046ba11f23
tree9c68d0490a5537dd51aa4d813444e4fe98713ab9
parent7fd96ce47ff83fc17ab78d465d8e067467a7f51e
mv643xx_eth: only unmask RX and TX_END interrupts for available queues

It is not a good idea to blindly unmask the RX and TX_END interrupts
for all eight queues on all mv643xx_eth hardware, since some variations
of the hardware have less than eight transmit/receive queues, and the
RX/TX_END interrupts for the queues they don't have can be in use by
other interrupt sources.

Signed-off-by: Saeed Bishara <saeed@marvell.com>
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mv643xx_eth.c