fcoe: use enum for fip_mode
authorHannes Reinecke <hare@suse.de>
Mon, 4 Jul 2016 08:29:19 +0000 (10:29 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 14 Jul 2016 02:05:28 +0000 (22:05 -0400)
commit1917d42d14b744e7298872138dd281376a83a3fe
tree57df7ccc23ecb551e1b2b19760adef062c8578e6
parent6a551c113252ca05d0f4ca307aa6d7118d0a5e45
fcoe: use enum for fip_mode

The FIP mode is independent on the FIP state machine, so use a separate
enum for that instead of overloading it with state machine values.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/bnx2fc/bnx2fc_fcoe.c
drivers/scsi/fcoe/fcoe.c
drivers/scsi/fcoe/fcoe_ctlr.c
drivers/scsi/fnic/fnic_fcs.c
include/scsi/libfcoe.h