aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libfc/fc_lport.c
diff options
context:
space:
mode:
authorRobert Love <robert.w.love@intel.com>2009-11-03 14:45:58 -0500
committerJames Bottomley <James.Bottomley@suse.de>2009-12-04 13:00:55 -0500
commit8866a5d9075b7129194576f5f810e85a693c40ba (patch)
tree8976fd0009ab5870457ca0ecd7a246852744f00c /drivers/scsi/libfc/fc_lport.c
parent255f6386b816b2bc0c251af0ee4985ad5a8461b7 (diff)
[SCSI] libfc: Add libfc/fc_libfc.[ch] for libfc internal routines
include/scsi/libfc.h is currently loaded with common code shared between libfc's sub-modules as well as shared between libfc and fcoe. Previous patches attempted to move out non-common code. This patch creates two files for common libfc routines that will not be shared with fcoe, fnic or any other LLDs. Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/libfc/fc_lport.c')
-rw-r--r--drivers/scsi/libfc/fc_lport.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c
index 536492ae6a88..f7f20a46e494 100644
--- a/drivers/scsi/libfc/fc_lport.c
+++ b/drivers/scsi/libfc/fc_lport.c
@@ -95,6 +95,8 @@
95#include <scsi/libfc.h> 95#include <scsi/libfc.h>
96#include <scsi/fc_encode.h> 96#include <scsi/fc_encode.h>
97 97
98#include "fc_libfc.h"
99
98/* Fabric IDs to use for point-to-point mode, chosen on whims. */ 100/* Fabric IDs to use for point-to-point mode, chosen on whims. */
99#define FC_LOCAL_PTP_FID_LO 0x010101 101#define FC_LOCAL_PTP_FID_LO 0x010101
100#define FC_LOCAL_PTP_FID_HI 0x010102 102#define FC_LOCAL_PTP_FID_HI 0x010102