]> git.baikalelectronics.ru Git - kernel.git/commit
cnic, bnx2x, bnx2: Simplify cnic probing.
authorMichael Chan <mchan@broadcom.com>
Thu, 6 Dec 2012 10:33:12 +0000 (10:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Dec 2012 17:44:02 +0000 (12:44 -0500)
commit0c8e3966b176a52d4c30e65bb2f49258f428b29a
treeb2e19d3ffeac16974eda2d396f543a1d25466f1c
parentf33de2b10e91a2f6f875faf15208367796114314
cnic, bnx2x, bnx2: Simplify cnic probing.

Instead of using symbol_get(), cnic can now directly call the cnic_probe
functions in struct bnx2x and struct bnx2.  symbol_get() is not reliable
as it fails when the module is still initializing.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2.c
drivers/net/ethernet/broadcom/bnx2.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/broadcom/cnic.c
drivers/net/ethernet/broadcom/cnic_if.h