Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195644
b: refs/heads/master
c: da87bfa
h: refs/heads/master
v: v3
  • Loading branch information
Vasu Dev authored and James Bottomley committed Apr 11, 2010
1 parent 03e8aa7 commit 4f010bf
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8ba00a4bbbbcb39d077e837555dfa9ff0de4202e
refs/heads/master: da87bfab8a7e6cfd0e1e5c5874d7fd4f7d11e64e
2 changes: 2 additions & 0 deletions trunk/drivers/scsi/fcoe/fcoe.c
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,8 @@ static int fcoe_shost_config(struct fc_lport *lport, struct device *dev)
lport->host->max_lun = FCOE_MAX_LUN;
lport->host->max_id = FCOE_MAX_FCP_TARGET;
lport->host->max_channel = 0;
lport->host->max_cmd_len = FCOE_MAX_CMD_LEN;

if (lport->vport)
lport->host->transportt = fcoe_vport_transport_template;
else
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/fnic/fnic.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
#define FNIC_IO_LOCKS 64 /* IO locks: power of 2 */
#define FNIC_DFLT_QUEUE_DEPTH 32
#define FNIC_STATS_RATE_LIMIT 4 /* limit rate at which stats are pulled up */
#define FNIC_MAX_CMD_LEN 16 /* Supported CDB length */

/*
* Tag bits used for special requests.
*/
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/fnic/fnic_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ static int __devinit fnic_probe(struct pci_dev *pdev,
}
host->max_lun = fnic->config.luns_per_tgt;
host->max_id = FNIC_MAX_FCP_TARGET;
host->max_cmd_len = FNIC_MAX_CMD_LEN;
host->max_cmd_len = FCOE_MAX_CMD_LEN;

fnic_get_res_counts(fnic);

Expand Down
2 changes: 2 additions & 0 deletions trunk/include/scsi/libfcoe.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
#include <scsi/fc/fc_fcoe.h>
#include <scsi/libfc.h>

#define FCOE_MAX_CMD_LEN 16 /* Supported CDB length */

/*
* FIP tunable parameters.
*/
Expand Down

0 comments on commit 4f010bf

Please sign in to comment.