bnx2x: Added nvram personalities support
authorYuval Mintz <yuvalmin@broadcom.com>
Mon, 14 Jan 2013 05:11:45 +0000 (05:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jan 2013 20:07:58 +0000 (15:07 -0500)
commit4ba7699be9e038b3f4d4857ef5d2150ebd9a7b60
tree075a9a5fee8b80803686801d5f03176a96510941
parenta336ca7cc5c87677c77381e01754e9491b20e38c
bnx2x: Added nvram personalities support

When a device is configured to act as either iscsi or fcoe
device in its nvram, prevent the other from being misused by
preventing its activation in the driver.

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