diff options
author | Vasu Dev <vasu.dev@intel.com> | 2009-03-27 12:06:31 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-04-03 10:23:02 -0400 |
commit | 7f3491429553cbff20367851fb897c449d028393 (patch) | |
tree | 403bc31bd97e48f6a197eb52db41b0dd827cae95 /include/scsi | |
parent | 61e17afa89ad042c356e37d6d6f5654cba869036 (diff) |
[SCSI] fcoe: removes default sw transport code file fcoe_sw.c
Moves only required code from fcoe_sw.c to libfcoe.c towards having
just one source file for fcoe module, this gets rid off default sw
transport code in a separate fcoe_sw.c file.
Very minor renaming along this move, dropped _sw_ or _SW_ use
in names and replaced them by _if_ as a auxiliary interface
functions. Now some of these funcs can be removed or merged with
other func after fcoe transport is gone, but that should be
in another patch to keep this patch simple.
Now the libfcoe.c file name for fcoe module doesn't go along well,
so the libfcoe.c file renaming to fcoe.c as the only single fcoe
module file is done in next patch to keep this patch clean
and small for review.
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 | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/scsi/libfcoe.h b/include/scsi/libfcoe.h index dc64405b5814..e99633cefd37 100644 --- a/include/scsi/libfcoe.h +++ b/include/scsi/libfcoe.h | |||
@@ -145,10 +145,4 @@ int fcoe_hostlist_remove(const struct fc_lport *); | |||
145 | 145 | ||
146 | struct Scsi_Host *fcoe_host_alloc(struct scsi_host_template *, int); | 146 | struct Scsi_Host *fcoe_host_alloc(struct scsi_host_template *, int); |
147 | int fcoe_libfc_config(struct fc_lport *, struct libfc_function_template *); | 147 | int fcoe_libfc_config(struct fc_lport *, struct libfc_function_template *); |
148 | |||
149 | /* fcoe sw hba */ | ||
150 | int __init fcoe_sw_init(void); | ||
151 | int __exit fcoe_sw_exit(void); | ||
152 | int fcoe_sw_create(struct net_device *); | ||
153 | int fcoe_sw_destroy(struct net_device *); | ||
154 | #endif /* _LIBFCOE_H */ | 148 | #endif /* _LIBFCOE_H */ |