diff options
-rw-r--r-- | drivers/scsi/fcoe/fcoe.c | 2 | ||||
-rw-r--r-- | drivers/scsi/fnic/fnic.h | 2 | ||||
-rw-r--r-- | drivers/scsi/fnic/fnic_main.c | 2 | ||||
-rw-r--r-- | include/scsi/libfcoe.h | 2 |
4 files changed, 6 insertions, 2 deletions
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c index 4d46b71849ab..25a7ce5c2d24 100644 --- a/drivers/scsi/fcoe/fcoe.c +++ b/drivers/scsi/fcoe/fcoe.c | |||
@@ -669,6 +669,8 @@ static int fcoe_shost_config(struct fc_lport *lport, struct device *dev) | |||
669 | lport->host->max_lun = FCOE_MAX_LUN; | 669 | lport->host->max_lun = FCOE_MAX_LUN; |
670 | lport->host->max_id = FCOE_MAX_FCP_TARGET; | 670 | lport->host->max_id = FCOE_MAX_FCP_TARGET; |
671 | lport->host->max_channel = 0; | 671 | lport->host->max_channel = 0; |
672 | lport->host->max_cmd_len = FCOE_MAX_CMD_LEN; | ||
673 | |||
672 | if (lport->vport) | 674 | if (lport->vport) |
673 | lport->host->transportt = fcoe_vport_transport_template; | 675 | lport->host->transportt = fcoe_vport_transport_template; |
674 | else | 676 | else |
diff --git a/drivers/scsi/fnic/fnic.h b/drivers/scsi/fnic/fnic.h index 585cc9cb942c..19338e0ba2c5 100644 --- a/drivers/scsi/fnic/fnic.h +++ b/drivers/scsi/fnic/fnic.h | |||
@@ -45,7 +45,7 @@ | |||
45 | #define FNIC_IO_LOCKS 64 /* IO locks: power of 2 */ | 45 | #define FNIC_IO_LOCKS 64 /* IO locks: power of 2 */ |
46 | #define FNIC_DFLT_QUEUE_DEPTH 32 | 46 | #define FNIC_DFLT_QUEUE_DEPTH 32 |
47 | #define FNIC_STATS_RATE_LIMIT 4 /* limit rate at which stats are pulled up */ | 47 | #define FNIC_STATS_RATE_LIMIT 4 /* limit rate at which stats are pulled up */ |
48 | #define FNIC_MAX_CMD_LEN 16 /* Supported CDB length */ | 48 | |
49 | /* | 49 | /* |
50 | * Tag bits used for special requests. | 50 | * Tag bits used for special requests. |
51 | */ | 51 | */ |
diff --git a/drivers/scsi/fnic/fnic_main.c b/drivers/scsi/fnic/fnic_main.c index 97b212570bcc..265e73d9cd6f 100644 --- a/drivers/scsi/fnic/fnic_main.c +++ b/drivers/scsi/fnic/fnic_main.c | |||
@@ -556,7 +556,7 @@ static int __devinit fnic_probe(struct pci_dev *pdev, | |||
556 | } | 556 | } |
557 | host->max_lun = fnic->config.luns_per_tgt; | 557 | host->max_lun = fnic->config.luns_per_tgt; |
558 | host->max_id = FNIC_MAX_FCP_TARGET; | 558 | host->max_id = FNIC_MAX_FCP_TARGET; |
559 | host->max_cmd_len = FNIC_MAX_CMD_LEN; | 559 | host->max_cmd_len = FCOE_MAX_CMD_LEN; |
560 | 560 | ||
561 | fnic_get_res_counts(fnic); | 561 | fnic_get_res_counts(fnic); |
562 | 562 | ||
diff --git a/include/scsi/libfcoe.h b/include/scsi/libfcoe.h index 868ed26a9767..ec13f51531f8 100644 --- a/include/scsi/libfcoe.h +++ b/include/scsi/libfcoe.h | |||
@@ -29,6 +29,8 @@ | |||
29 | #include <scsi/fc/fc_fcoe.h> | 29 | #include <scsi/fc/fc_fcoe.h> |
30 | #include <scsi/libfc.h> | 30 | #include <scsi/libfc.h> |
31 | 31 | ||
32 | #define FCOE_MAX_CMD_LEN 16 /* Supported CDB length */ | ||
33 | |||
32 | /* | 34 | /* |
33 | * FIP tunable parameters. | 35 | * FIP tunable parameters. |
34 | */ | 36 | */ |