]> git.baikalelectronics.ru Git - kernel.git/commit
cnic: Refine registration with bnx2.
authorMichael Chan <mchan@broadcom.com>
Fri, 14 Aug 2009 15:49:44 +0000 (15:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Aug 2009 01:50:43 +0000 (18:50 -0700)
commit011450c340e278afd9c3d77c24fdf45290d27e93
treed736fb5260aaf71d36d8b066b04db00135c4e605
parentbf99db31dddbd52de6c28abc1eee373838487ed6
cnic: Refine registration with bnx2.

Register and unregister with bnx2 during NETDEV_UP and NETDEV_DOWN
events.  This simplifies the sequence of events and allows locking
fixes in the next patch.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cnic.c