Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18476
b: refs/heads/master
c: f94097e
h: refs/heads/master
v: v3
  • Loading branch information
andrew.vasquez@qlogic.com authored and James Bottomley committed Jan 14, 2006
1 parent 8a96a47 commit f0e11f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: c9d02acf39d9fdde18b63281944003b9ec9a3271
refs/heads/master: f94097edf2c3ac9bc48580252c2eee52947b5e60
8 changes: 5 additions & 3 deletions trunk/drivers/scsi/qla2xxx/qla_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1014,11 +1014,13 @@ qla24xx_update_fw_options(scsi_qla_host_t *ha)
int rval;

/* Update Serial Link options. */
if ((ha->fw_seriallink_options24[0] & BIT_0) == 0)
if ((le16_to_cpu(ha->fw_seriallink_options24[0]) & BIT_0) == 0)
return;

rval = qla2x00_set_serdes_params(ha, ha->fw_seriallink_options24[1],
ha->fw_seriallink_options24[2], ha->fw_seriallink_options24[3]);
rval = qla2x00_set_serdes_params(ha,
le16_to_cpu(ha->fw_seriallink_options24[1]),
le16_to_cpu(ha->fw_seriallink_options24[2]),
le16_to_cpu(ha->fw_seriallink_options24[3]));
if (rval != QLA_SUCCESS) {
qla_printk(KERN_WARNING, ha,
"Unable to update Serial Link options (%x).\n", rval);
Expand Down

0 comments on commit f0e11f8

Please sign in to comment.