diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2006-06-24 01:11:10 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-06-26 23:24:36 +0200 |
commit | 0181944fe647cae18d545ac1167df3d15d393701 (patch) | |
tree | 6889c9782bf1ce84345a3d128e82797a732f4cf9 /drivers/scsi/qla2xxx/qla_init.c | |
parent | [SCSI] qla2xxx: Cleanup DEBUG macro usage. (diff) | |
download | linux-0181944fe647cae18d545ac1167df3d15d393701.tar.xz 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)) |