]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited2a039ec87ae778f841f512bb67c3da9a678cbe
tree9c68d0490a5537dd51aa4d813444e4fe98713ab9
parentff67cef53611950b5f11d670b49e63a90f090e85
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