mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
target: header reshuffle, part2
This reorganized the headers under include/target into: - target_core_base.h stays as is with all target-wide data stuctures and defines - target_core_backend.h contains the whole interface to I/O backends - target_core_fabric.h contains the whole interface to fabric modules Except for those only the various configfs macro headers stay around. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
This commit is contained in:
parent
e26d99aed4
commit
c4795fb20e
44 changed files with 288 additions and 462 deletions
|
@ -230,14 +230,9 @@ def tcm_mod_build_configfs(proto_ident, fabric_mod_dir_var, fabric_mod_name):
|
|||
buf += "#include <linux/ctype.h>\n"
|
||||
buf += "#include <asm/unaligned.h>\n\n"
|
||||
buf += "#include <target/target_core_base.h>\n"
|
||||
buf += "#include <target/target_core_transport.h>\n"
|
||||
buf += "#include <target/target_core_fabric_ops.h>\n"
|
||||
buf += "#include <target/target_core_fabric.h>\n"
|
||||
buf += "#include <target/target_core_fabric_configfs.h>\n"
|
||||
buf += "#include <target/target_core_fabric_lib.h>\n"
|
||||
buf += "#include <target/target_core_device.h>\n"
|
||||
buf += "#include <target/target_core_tpg.h>\n"
|
||||
buf += "#include <target/target_core_configfs.h>\n"
|
||||
buf += "#include <target/target_core_base.h>\n"
|
||||
buf += "#include <target/configfs_macros.h>\n\n"
|
||||
buf += "#include \"" + fabric_mod_name + "_base.h\"\n"
|
||||
buf += "#include \"" + fabric_mod_name + "_fabric.h\"\n\n"
|
||||
|
@ -514,7 +509,7 @@ def tcm_mod_build_configfs(proto_ident, fabric_mod_dir_var, fabric_mod_name):
|
|||
|
||||
def tcm_mod_scan_fabric_ops(tcm_dir):
|
||||
|
||||
fabric_ops_api = tcm_dir + "include/target/target_core_fabric_ops.h"
|
||||
fabric_ops_api = tcm_dir + "include/target/target_core_fabric.h"
|
||||
|
||||
print "Using tcm_mod_scan_fabric_ops: " + fabric_ops_api
|
||||
process_fo = 0;
|
||||
|
@ -579,11 +574,7 @@ def tcm_mod_dump_fabric_ops(proto_ident, fabric_mod_dir_var, fabric_mod_name):
|
|||
buf += "#include <scsi/scsi_cmnd.h>\n"
|
||||
buf += "#include <scsi/libfc.h>\n\n"
|
||||
buf += "#include <target/target_core_base.h>\n"
|
||||
buf += "#include <target/target_core_transport.h>\n"
|
||||
buf += "#include <target/target_core_fabric_ops.h>\n"
|
||||
buf += "#include <target/target_core_fabric_lib.h>\n"
|
||||
buf += "#include <target/target_core_device.h>\n"
|
||||
buf += "#include <target/target_core_tpg.h>\n"
|
||||
buf += "#include <target/target_core_fabric.h>\n"
|
||||
buf += "#include <target/target_core_configfs.h>\n\n"
|
||||
buf += "#include \"" + fabric_mod_name + "_base.h\"\n"
|
||||
buf += "#include \"" + fabric_mod_name + "_fabric.h\"\n\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue