]> err.no Git - linux-2.6/commit
RDMA/nes: Fix MAC interrupt erroneously masked on ifdown
authorGlenn Streiff <gstreiff@neteffect.com>
Fri, 15 Feb 2008 17:41:27 +0000 (11:41 -0600)
committerRoland Dreier <rolandd@cisco.com>
Fri, 15 Feb 2008 23:05:05 +0000 (15:05 -0800)
commit11e0704b7ec3abfeaee7e3a56f11c82024d1ae01
treeb4929f77a34339c47ee4863fed47d8bca717c538
parentc7482b81c8b524193d736488c149adbe27a7eb7f
RDMA/nes: Fix MAC interrupt erroneously masked on ifdown

Only mask out MAC interrupt if necessary and re-enable on ifup.  There
could be multiple netdevs going through the same MAC.  MAC interrupts
should not be masked off until the last netdev is downed.

Signed-off-by: Chien Tung <ctung@neteffect.com>
Signed-off-by: Glenn Streiff <gstreiff@neteffect.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/nes/nes_nic.c