Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77148
b: refs/heads/master
c: c48339d
h: refs/heads/master
v: v3
  • Loading branch information
Seokmann Ju authored and James Bottomley committed Jan 23, 2008
1 parent 00a0fe3 commit d017526
Show file tree
Hide file tree
Showing 3 changed files with 5 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: fc44765f5a232d451fa58a04606b254ac257b429
refs/heads/master: c48339decceec8e011498b0fc4c7c7d8b2ea06c1
4 changes: 3 additions & 1 deletion trunk/drivers/scsi/qla2xxx/qla_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,9 @@ qla2x00_init_rings(scsi_qla_host_t *ha)

DEBUG(printk("scsi(%ld): Issue init firmware.\n", ha->host_no));

mid_init_cb->count = cpu_to_le16(ha->max_npiv_vports);
if (ha->flags.npiv_supported)
mid_init_cb->count = cpu_to_le16(ha->max_npiv_vports);

mid_init_cb->options = __constant_cpu_to_le16(BIT_1);

rval = qla2x00_init_firmware(ha, ha->init_cb_size);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/qla2xxx/qla_mbx.c
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ qla2x00_init_firmware(scsi_qla_host_t *ha, uint16_t size)
DEBUG11(printk("qla2x00_init_firmware(%ld): entered.\n",
ha->host_no));

if (ha->flags.npiv_supported)
if (ha->fw_attributes & BIT_2)
mcp->mb[0] = MBC_MID_INITIALIZE_FIRMWARE;
else
mcp->mb[0] = MBC_INITIALIZE_FIRMWARE;
Expand Down

0 comments on commit d017526

Please sign in to comment.