diff options
author | Robert Love <robert.w.love@intel.com> | 2009-11-03 14:47:23 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 13:01:05 -0500 |
commit | 07aac328342d6ca1725d901e1c5da8a1aa88f557 (patch) | |
tree | 1ea10e3eafc38e61398b6f02a3e0f0ac319097c7 /include/scsi | |
parent | dc8596d303bb306da9ab5326fa6209710de86b8b (diff) |
[SCSI] libfc: Export FC headers
Export fc_els.h, fc_fs.h, fc_gs.h and fc_ns.h so that they
may be used by applications.
This will be needed for FC Passthrough applications like fcping,
but could be used by other applications.
Fix to include <linux/types.h> to exported files provided by
Chris Leech <christopher.leech@intel.com>.
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/Kbuild | 1 | ||||
-rw-r--r-- | include/scsi/fc/Kbuild | 4 | ||||
-rw-r--r-- | include/scsi/fc/fc_els.h | 2 | ||||
-rw-r--r-- | include/scsi/fc/fc_fs.h | 2 | ||||
-rw-r--r-- | include/scsi/fc/fc_gs.h | 2 | ||||
-rw-r--r-- | include/scsi/fc/fc_ns.h | 2 |
6 files changed, 13 insertions, 0 deletions
diff --git a/include/scsi/Kbuild b/include/scsi/Kbuild index 33b2750e9283..b3a0ee6b2f1c 100644 --- a/include/scsi/Kbuild +++ b/include/scsi/Kbuild | |||
@@ -2,3 +2,4 @@ header-y += scsi.h | |||
2 | header-y += scsi_netlink.h | 2 | header-y += scsi_netlink.h |
3 | header-y += scsi_netlink_fc.h | 3 | header-y += scsi_netlink_fc.h |
4 | header-y += scsi_bsg_fc.h | 4 | header-y += scsi_bsg_fc.h |
5 | header-y += fc/ | ||
diff --git a/include/scsi/fc/Kbuild b/include/scsi/fc/Kbuild new file mode 100644 index 000000000000..56603813c6cd --- /dev/null +++ b/include/scsi/fc/Kbuild | |||
@@ -0,0 +1,4 @@ | |||
1 | header-y += fc_els.h | ||
2 | header-y += fc_fs.h | ||
3 | header-y += fc_gs.h | ||
4 | header-y += fc_ns.h | ||
diff --git a/include/scsi/fc/fc_els.h b/include/scsi/fc/fc_els.h index b0872afe2d30..f94328132a26 100644 --- a/include/scsi/fc/fc_els.h +++ b/include/scsi/fc/fc_els.h | |||
@@ -20,6 +20,8 @@ | |||
20 | #ifndef _FC_ELS_H_ | 20 | #ifndef _FC_ELS_H_ |
21 | #define _FC_ELS_H_ | 21 | #define _FC_ELS_H_ |
22 | 22 | ||
23 | #include <linux/types.h> | ||
24 | |||
23 | /* | 25 | /* |
24 | * Fibre Channel Switch - Enhanced Link Services definitions. | 26 | * Fibre Channel Switch - Enhanced Link Services definitions. |
25 | * From T11 FC-LS Rev 1.2 June 7, 2005. | 27 | * From T11 FC-LS Rev 1.2 June 7, 2005. |
diff --git a/include/scsi/fc/fc_fs.h b/include/scsi/fc/fc_fs.h index ac4cd38c860e..50f28b143451 100644 --- a/include/scsi/fc/fc_fs.h +++ b/include/scsi/fc/fc_fs.h | |||
@@ -20,6 +20,8 @@ | |||
20 | #ifndef _FC_FS_H_ | 20 | #ifndef _FC_FS_H_ |
21 | #define _FC_FS_H_ | 21 | #define _FC_FS_H_ |
22 | 22 | ||
23 | #include <linux/types.h> | ||
24 | |||
23 | /* | 25 | /* |
24 | * Fibre Channel Framing and Signalling definitions. | 26 | * Fibre Channel Framing and Signalling definitions. |
25 | * From T11 FC-FS-2 Rev 0.90 - 9 August 2005. | 27 | * From T11 FC-FS-2 Rev 0.90 - 9 August 2005. |
diff --git a/include/scsi/fc/fc_gs.h b/include/scsi/fc/fc_gs.h index 324dd0e3c622..a37346d47eb1 100644 --- a/include/scsi/fc/fc_gs.h +++ b/include/scsi/fc/fc_gs.h | |||
@@ -20,6 +20,8 @@ | |||
20 | #ifndef _FC_GS_H_ | 20 | #ifndef _FC_GS_H_ |
21 | #define _FC_GS_H_ | 21 | #define _FC_GS_H_ |
22 | 22 | ||
23 | #include <linux/types.h> | ||
24 | |||
23 | /* | 25 | /* |
24 | * Fibre Channel Services - Common Transport. | 26 | * Fibre Channel Services - Common Transport. |
25 | * From T11.org FC-GS-2 Rev 5.3 November 1998. | 27 | * From T11.org FC-GS-2 Rev 5.3 November 1998. |
diff --git a/include/scsi/fc/fc_ns.h b/include/scsi/fc/fc_ns.h index 3fd59a2cb81f..f4d354eb26b9 100644 --- a/include/scsi/fc/fc_ns.h +++ b/include/scsi/fc/fc_ns.h | |||
@@ -20,6 +20,8 @@ | |||
20 | #ifndef _FC_NS_H_ | 20 | #ifndef _FC_NS_H_ |
21 | #define _FC_NS_H_ | 21 | #define _FC_NS_H_ |
22 | 22 | ||
23 | #include <linux/types.h> | ||
24 | |||
23 | /* | 25 | /* |
24 | * Fibre Channel Services - Name Service (dNS) | 26 | * Fibre Channel Services - Name Service (dNS) |
25 | * From T11.org FC-GS-2 Rev 5.3 November 1998. | 27 | * From T11.org FC-GS-2 Rev 5.3 November 1998. |