bnx2x: move msix table initialization to probe()
authorDmitry Kravkov <dmitry@broadcom.com>
Wed, 6 Oct 2010 03:32:10 +0000 (03:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Oct 2010 21:10:40 +0000 (14:10 -0700)
commitd6214d7aaa9a82b206dac9e3b0665c49c522a271
tree593dae3485d4d5e13eec568460dcd7d8dde4381d
parent217de5aaed833982c420fc37d82272d84eaefe64
bnx2x: move msix table initialization to probe()

Decide which interrupt mode to use (MSI-X, MSI, INTa) only once in probe() and
initialize appropriate structures.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x.h
drivers/net/bnx2x/bnx2x_cmn.c
drivers/net/bnx2x/bnx2x_cmn.h
drivers/net/bnx2x/bnx2x_main.c