bnx2x: Add support for Multi-Function UNDI
authorYuval Mintz <yuvalmin@broadcom.com>
Thu, 26 Dec 2013 07:57:07 +0000 (09:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Dec 2013 18:38:21 +0000 (13:38 -0500)
commit91ebb929b6f802604bb0ccdd3fec9c7b30d804f1
tree103ba7852a3193036e13297f861e128d18c12546
parent539c89cfdb0e4b58d22a8a89321f36572b299fbc
bnx2x: Add support for Multi-Function UNDI

This adds the ability for bnx2x to load after UNDI is used in the
preboot environment on a multi-function interface which is not the first
interface of a given device.
Notice a side-effect is that the order by which the functions are probed and
thus interfaces appear might change, as this patch utilizes the EPROBE_DEFER
return value (and mechanism).

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h