diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2006-06-23 16:11:10 -0700 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-06-26 16:24:36 -0500 |
commit | 0181944fe647cae18d545ac1167df3d15d393701 (patch) | |
tree | 6889c9782bf1ce84345a3d128e82797a732f4cf9 /drivers/scsi/qla2xxx/qla_init.c | |
parent | 744f11fdb1118c9306303529263e5ed09b463a0f (diff) | |
download | blackbird-op-linux-0181944fe647cae18d545ac1167df3d15d393701.tar.gz blackbird-op-linux-0181944fe647cae18d545ac1167df3d15d393701.zip |
[SCSI] qla2xxx: Add support for extended error logging.
Similar in form to QLogic's standard offering -- via
the 'extended_error_logging' module parameter.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_init.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 101cf12b9a47..761dd1f7e3f1 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -1642,6 +1642,8 @@ qla2x00_nvram_config(scsi_qla_host_t *ha) /* * Set host adapter parameters. */ + if (nv->host_p[0] & BIT_7) + extended_error_logging = 1; ha->flags.disable_risc_code_load = ((nv->host_p[0] & BIT_4) ? 1 : 0); /* Always load RISC code on non ISP2[12]00 chips. */ if (!IS_QLA2100(ha) && !IS_QLA2200(ha)) |