From: Bernd Schubert <bs@q-leap.de>
To: linux-scsi@vger.kernel.org
Cc: Sathya Prakash <Sathya.Prakash@lsi.com>,
Eric Moore <Eric.Moore@lsi.com>,
James Bottomley <James.Bottomley@hansenpartnership.com>,
DL-MPT Fusion Linux <DL-MPTFusionLinux@lsi.com>
Subject: [PATCH 2/2 (resend) ] reset flag documentation
Date: Wed, 7 Jan 2009 19:05:30 +0100 [thread overview]
Message-ID: <200901071905.32280.bs@q-leap.de> (raw)
In-Reply-To: <200901071858.48672.bs@q-leap.de>
Add documentation of a fusion MPT reset flag.
Signed-off-by: Bernd Schubert <bs@q-leap.de>
Index: linux-2.6/drivers/message/fusion/mptbase.h
===================================================================
--- linux-2.6.orig/drivers/message/fusion/mptbase.h
+++ linux-2.6/drivers/message/fusion/mptbase.h
@@ -735,8 +735,9 @@ typedef struct _MPT_ADAPTER
typedef int (*MPT_CALLBACK)(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req,
MPT_FRAME_HDR *reply);
typedef int (*MPT_EVHANDLER)(MPT_ADAPTER *ioc, EventNotificationReply_t
*evReply);
typedef int (*MPT_RESETHANDLER)(MPT_ADAPTER *ioc, int reset_phase);
-/* reset_phase defs */
-#define MPT_IOC_PRE_RESET 0
+
+/* reset_phase defs, see e.g. mptscsih_ioc_reset() about flag usage */
+#define MPT_IOC_PRE_RESET 0 /* clear pending requests */
#define MPT_IOC_POST_RESET 1
#define MPT_IOC_SETUP_RESET 2
--
Bernd Schubert
Q-Leap Networks GmbH
next prev parent reply other threads:[~2009-01-07 18:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-07 17:58 [PATCH 0/2 (resend) ] fusion reset Bernd Schubert
2009-01-07 18:03 ` [PATCH 1/2 (resend) ] introduce soft reset handler Bernd Schubert
2009-01-09 8:11 ` Prakash, Sathya
2009-01-07 18:05 ` Bernd Schubert [this message]
2009-01-09 8:08 ` [PATCH 2/2 (resend) ] reset flag documentation Prakash, Sathya
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=200901071905.32280.bs@q-leap.de \
--to=bs@q-leap.de \
--cc=DL-MPTFusionLinux@lsi.com \
--cc=Eric.Moore@lsi.com \
--cc=James.Bottomley@hansenpartnership.com \
--cc=Sathya.Prakash@lsi.com \
--cc=linux-scsi@vger.kernel.org \
/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