bnx2x: Check for UNDI in uncommon branch
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Thu, 12 Jun 2014 04:55:31 +0000 (07:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jun 2014 17:28:18 +0000 (10:28 -0700)
commitb17b0ca1642c23f0cd4e4cf52cdb9970798f3501
treecff93c1ec6ddec06a3c1139a74ea75a031aa0001
parenta2755be5b5340eeb0f00a318d23a302fe95c45ba
bnx2x: Check for UNDI in uncommon branch

If L2FW utilized by the UNDI driver has the same version number as that
of the regular FW, a driver loading after UNDI and receiving an uncommon
answer from management will mistakenly assume the loaded FW matches its
own requirement and try to exist the flow via FLR.

Signed-off-by: Yuval Mintz <yuval.mintz@qlogic.com>
Signed-off-by: Ariel Elior <ariel.elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c