]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: Bug fix to send config commands to hardware after netdev_register
authorAjit Khaparde <ajitk@serverengines.com>
Fri, 6 Nov 2009 02:07:32 +0000 (02:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Nov 2009 04:26:06 +0000 (20:26 -0800)
commit051b47326e96f4e789023b19b7173afd29325740
treeef9f833641ce9e771dc1026e7139eb35b4c92568
parent76791c38c335dc74b1539480f26e31289daec751
be2net: Bug fix to send config commands to hardware after netdev_register

Sending config commands to be2 hardware before netdev_register is
completed, is sometimes causing the async link notification to arrive
even before the driver is ready to handle it. The commands for vlan
config and flow control settings can infact wait till be_open.
This patch takes care of that.

Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c