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] reset flag documentation
Date: Wed, 3 Dec 2008 13:35:30 +0100 [thread overview]
Message-ID: <200812031335.30995.bs@q-leap.de> (raw)
In-Reply-To: <200812031329.06324.bs@q-leap.de>
I was rather suprised when Sathya explained me the MPT_IOC_PRE_RESET has to
be done after the MUR command. Explain what MPT_IOC_PRE_RESET is actually
though to be for.
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
prev parent reply other threads:[~2008-12-03 12:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-03 12:29 [PATCH 0/2] fusion reset Bernd Schubert
2008-12-03 12:31 ` [PATCH 1/2] Bernd Schubert
2008-12-03 12:35 ` Bernd Schubert [this message]
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=200812031335.30995.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.