diff options
author | Joe Eykholt <jeykholt@cisco.com> | 2009-07-29 17:04:22 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-08-22 17:52:04 -0500 |
commit | b1d9fd5574763abe5c763e32e3547a4adee9bd88 (patch) | |
tree | fbf80ee698c4f9c9ffa8dc054d5c84df2459076f /include/scsi | |
parent | f161fb72104c7addac3d404a1ff543b2491c1426 (diff) | |
download | op-kernel-dev-b1d9fd5574763abe5c763e32e3547a4adee9bd88.zip op-kernel-dev-b1d9fd5574763abe5c763e32e3547a4adee9bd88.tar.gz |
[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 efdb6ba..b5c9b28 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, |