Linux SCSI subsystem development
 help / color / mirror / Atom feed
From: Andrew Vasquez <andrew.vasquez@qlogic.com>
To: Linux SCSI Mailing List <linux-scsi@vger.kernel.org>,
	James Bottomley <james.bottomley@steeleye.com>
Cc: Andrew Vasquez <andrew.vasquez@qlogic.com>,
	Seokmann Ju <seokmann.ju@qlogic.com>
Subject: [PATCH 5/6] qla2xxx: Allow the extended-error-logging flag to be dynamic.
Date: Mon, 12 Mar 2007 10:41:30 -0700	[thread overview]
Message-ID: <117372129130-git-send-email-andrew.vasquez@qlogic.com> (raw)
In-Reply-To: <20070312174019.GA1216@andrew-vasquezs-computer.local>

The module parameter, ql2xextended_error_logging, can now be
set dynamically by writing to the following sysfs entry:

	/sys/module/qla2xxx/parameters/ql2xextended_error_logging

This alleviates the need for the driver to be unloaded and
reloaded in order to enable logging.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
---
 drivers/scsi/qla2xxx/qla_os.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index f67ef38..b6c96a8 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -62,7 +62,7 @@ MODULE_PARM_DESC(ql2xallocfwdump,
 		"vary by ISP type.  Default is 1 - allocate memory.");
 
 int ql2xextended_error_logging;
-module_param(ql2xextended_error_logging, int, S_IRUGO|S_IRUSR);
+module_param(ql2xextended_error_logging, int, S_IRUGO|S_IWUSR);
 MODULE_PARM_DESC(ql2xextended_error_logging,
 		"Option to enable extended error logging, "
 		"Default is 0 - no logging. 1 - log errors.");
-- 
1.5.0.3.382.g34572


  parent reply	other threads:[~2007-03-12 17:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-12 17:40 [PATCH 0/6] qla2xxx: fixes for 2.6.21 [8.01.07-k6] Andrew Vasquez
2007-03-12 17:41 ` [PATCH 1/6] qla2xxx: fix RSCN handling on big-endian systems Andrew Vasquez
2007-03-12 17:41 ` [PATCH 2/6] qla2xxx: Add scan_[start|finish]() callbacks for ISP24xx HBAs Andrew Vasquez
2007-03-12 17:41 ` [PATCH 3/6] qla2xxx: Add cond_resched() calls during HBA flash manipulation Andrew Vasquez
2007-03-12 17:41 ` [PATCH 4/6] qla2xxx: Drop acquisition of hardware_lock during flash manipulations Andrew Vasquez
2007-03-12 17:41 ` Andrew Vasquez [this message]
2007-03-12 17:41 ` [PATCH 6/6] qla2xxx: Update version number to 8.01.07-k6 Andrew Vasquez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=117372129130-git-send-email-andrew.vasquez@qlogic.com \
    --to=andrew.vasquez@qlogic.com \
    --cc=james.bottomley@steeleye.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=seokmann.ju@qlogic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox