bnx2x: Do interrupt mode initialization and NAPIs adding before register_netdev()
authorVladislav Zolotarov <vladz@broadcom.com>
Wed, 24 Nov 2010 19:09:50 +0000 (11:09 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Nov 2010 19:09:50 +0000 (11:09 -0800)
commitb340007f79941297c44a7dfba4d3c587ff81590f
tree631a382e90f4704b0edce3d6de8984b6e6374cd9
parente1210d127d11fc40d229648c9754aa60776ef796
bnx2x: Do interrupt mode initialization and NAPIs adding before register_netdev()

Move the interrupt mode configuration and NAPIs adding before a
register_netdev() call to prevent netdev->open() from running
before these functions are done.

Advance a driver version number.

Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Reported-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x.h
drivers/net/bnx2x/bnx2x_main.c