Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18473
b: refs/heads/master
c: e978010
h: refs/heads/master
i:
  18471: 8bec441
v: v3
  • Loading branch information
andrew.vasquez@qlogic.com authored and James Bottomley committed Jan 14, 2006
1 parent 18cbba8 commit c0a20e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5998983113c1c9158c1ce66ff26a212aceaf7e5c
refs/heads/master: e978010cebcc0ac1be67caab8dfc7c1fa831406d
3 changes: 3 additions & 0 deletions trunk/drivers/scsi/qla2xxx/qla_sup.c
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,9 @@ qla24xx_write_flash_data(scsi_qla_host_t *ha, uint32_t *dwptr, uint32_t faddr,
}
} while (0);

/* Enable flash write-protection. */
qla24xx_write_flash_dword(ha, flash_conf_to_access_addr(0x101), 0x9c);

/* Disable flash write. */
WRT_REG_DWORD(&reg->ctrl_status,
RD_REG_DWORD(&reg->ctrl_status) & ~CSRX_FLASH_ENABLE);
Expand Down

0 comments on commit c0a20e3

Please sign in to comment.