diff options
author | Vasu Dev <vasu.dev@intel.com> | 2009-03-27 12:03:29 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-04-03 10:23:00 -0400 |
commit | 5919a59503577c2dc6eaa8bfba0f7bde3f9924ba (patch) | |
tree | 8b24bf78c4d21296990a598128cd334b59e4b0db /include/scsi | |
parent | 8976f424d43c80ea32b6e847226e1a8ccdb6e748 (diff) |
[SCSI] fcoe: prep work to completely remove fc_transport_fcoe code
The fcoe transport code was added for generic FCoE transport
infrastructure to allow additional offload related module loading
on demand, this is not required anymore after recently added
different offload approach by having offload related func ops
in netdev.
This patch removes fcoe transport related code use, calls functions
directly between existing libfcoe.c and fcoe_sw.c for now, for
example fcoe_sw_destroy and fcoe_sw_create calling.
The fcoe_sw.c and libfcoe.c code will be further consolidated in
later patches and then also the default fcoe sw transport code
file fcoe_sw.c will be completely removed.
The fcoe transport code files are completely removed in next
patch to keep this patch simple for reviewing.
[This patch is an update to a previous patch. This update
resolves a build error as well as fixes a defect related to
not calling fc_release_transport().]
Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/libfcoe.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/scsi/libfcoe.h b/include/scsi/libfcoe.h index 1ad4f93d5548..dc64405b5814 100644 --- a/include/scsi/libfcoe.h +++ b/include/scsi/libfcoe.h | |||
@@ -149,4 +149,6 @@ int fcoe_libfc_config(struct fc_lport *, struct libfc_function_template *); | |||
149 | /* fcoe sw hba */ | 149 | /* fcoe sw hba */ |
150 | int __init fcoe_sw_init(void); | 150 | int __init fcoe_sw_init(void); |
151 | int __exit fcoe_sw_exit(void); | 151 | int __exit fcoe_sw_exit(void); |
152 | int fcoe_sw_create(struct net_device *); | ||
153 | int fcoe_sw_destroy(struct net_device *); | ||
152 | #endif /* _LIBFCOE_H */ | 154 | #endif /* _LIBFCOE_H */ |