[SCSI] libfcoe: Allow FIP to be disabled by the driver
authorJoe Eykholt <jeykholt@cisco.com>
Tue, 3 Nov 2009 19:48:11 +0000 (11:48 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:01:11 +0000 (12:01 -0600)
commit22bcd225bfe2107725228758137d2109befa942a
tree48ae2ad5151e55f066fa8006605f06615f00a74d
parent84c3e1ad08d4be018a95e7a9964bf3dbc8cf8857
[SCSI] libfcoe: Allow FIP to be disabled by the driver

Allow FIP to be disabled by the driver for devices
that want to use libfcoe in non-FIP mode.

The driver merely sets the fcoe_ctlr mode to the state which
should be entered when the link comes up.  The default is auto.
No change is needed for fcoe.c which uses auto mode.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/libfcoe.c
include/scsi/libfcoe.h