Skip to content

Commit

Permalink
[SCSI] libfc: Export FC headers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Robert Love authored and James Bottomley committed Dec 4, 2009
1 parent dc8596d commit 07aac32
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/scsi/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ header-y += scsi.h
header-y += scsi_netlink.h
header-y += scsi_netlink_fc.h
header-y += scsi_bsg_fc.h
header-y += fc/
4 changes: 4 additions & 0 deletions include/scsi/fc/Kbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
header-y += fc_els.h
header-y += fc_fs.h
header-y += fc_gs.h
header-y += fc_ns.h
2 changes: 2 additions & 0 deletions include/scsi/fc/fc_els.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#ifndef _FC_ELS_H_
#define _FC_ELS_H_

#include <linux/types.h>

/*
* Fibre Channel Switch - Enhanced Link Services definitions.
* From T11 FC-LS Rev 1.2 June 7, 2005.
Expand Down
2 changes: 2 additions & 0 deletions include/scsi/fc/fc_fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#ifndef _FC_FS_H_
#define _FC_FS_H_

#include <linux/types.h>

/*
* Fibre Channel Framing and Signalling definitions.
* From T11 FC-FS-2 Rev 0.90 - 9 August 2005.
Expand Down
2 changes: 2 additions & 0 deletions include/scsi/fc/fc_gs.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#ifndef _FC_GS_H_
#define _FC_GS_H_

#include <linux/types.h>

/*
* Fibre Channel Services - Common Transport.
* From T11.org FC-GS-2 Rev 5.3 November 1998.
Expand Down
2 changes: 2 additions & 0 deletions include/scsi/fc/fc_ns.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#ifndef _FC_NS_H_
#define _FC_NS_H_

#include <linux/types.h>

/*
* Fibre Channel Services - Name Service (dNS)
* From T11.org FC-GS-2 Rev 5.3 November 1998.
Expand Down

0 comments on commit 07aac32

Please sign in to comment.