diff options
author | Joe Eykholt <jeykholt@cisco.com> | 2009-07-29 20:04:22 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-08-22 18:52:04 -0400 |
commit | b1d9fd5574763abe5c763e32e3547a4adee9bd88 (patch) | |
tree | fbf80ee698c4f9c9ffa8dc054d5c84df2459076f /include/scsi | |
parent | f161fb72104c7addac3d404a1ff543b2491c1426 (diff) |
[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.h | 2 |
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 { \ | |||
129 | * FC HBA status | 129 | * FC HBA status |
130 | */ | 130 | */ |
131 | enum fc_lport_state { | 131 | enum fc_lport_state { |
132 | LPORT_ST_NONE = 0, | 132 | LPORT_ST_DISABLED = 0, |
133 | LPORT_ST_FLOGI, | 133 | LPORT_ST_FLOGI, |
134 | LPORT_ST_DNS, | 134 | LPORT_ST_DNS, |
135 | LPORT_ST_RPN_ID, | 135 | LPORT_ST_RPN_ID, |