summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorJoe Eykholt <jeykholt@cisco.com>2009-07-30 02:04:22 +0200
committerJames Bottomley <James.Bottomley@suse.de>2009-08-23 00:52:04 +0200
commitb1d9fd5574763abe5c763e32e3547a4adee9bd88 (patch)
treefbf80ee698c4f9c9ffa8dc054d5c84df2459076f /include/scsi
parent[SCSI] fcoe: stop delivery of received frames before doing lport_destroy() (diff)
downloadlinux-b1d9fd5574763abe5c763e32e3547a4adee9bd88.tar.xz
linux-b1d9fd5574763abe5c763e32e3547a4adee9bd88.zip
[SCSI] libfc: rename lport NONE state to DISABLED
The state NONE was meant to be invalid, but has been used as the initial state. Rename it to be DISABLED, as more descriptive. Further patches will make it the like the RESET state, except it won't transition to FLOGI until fc_lport_fabric_login() is called. 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@HansenPartnership.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/libfc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h
index efdb6ba310e5..b5c9b285b462 100644
--- a/include/scsi/libfc.h
+++ b/include/scsi/libfc.h
@@ -129,7 +129,7 @@ do { \
* FC HBA status
*/
enum fc_lport_state {
- LPORT_ST_NONE = 0,
+ LPORT_ST_DISABLED = 0,
LPORT_ST_FLOGI,
LPORT_ST_DNS,
LPORT_ST_RPN_ID,