From: Eric Moore <eric.moore@lsi.com>
To: linux-scsi@vger.kernel.org, James.Bottomley@SteelEye.com
Subject: [PATCH] - export spi_dv_pending
Date: Mon, 29 Jan 2007 09:41:12 -0700 [thread overview]
Message-ID: <20070129164111.GA1873@lsil.com> (raw)
export define to be used in 3rd fusion patch
Signed-off-by: Eric Moore <Eric.Moore@lsi.com>
diff -uarpN b/drivers/scsi/scsi_transport_spi.c a/drivers/scsi/scsi_transport_spi.c
--- b/drivers/scsi/scsi_transport_spi.c 2007-01-24 19:19:28.000000000 -0700
+++ a/drivers/scsi/scsi_transport_spi.c 2007-01-28 12:39:38.000000000 -0700
@@ -46,7 +46,6 @@
* two cc/ua clears */
/* Private data accessors (keep these out of the header file) */
-#define spi_dv_pending(x) (((struct spi_transport_attrs *)&(x)->starget_data)->dv_pending)
#define spi_dv_in_progress(x) (((struct spi_transport_attrs *)&(x)->starget_data)->dv_in_progress)
#define spi_dv_mutex(x) (((struct spi_transport_attrs *)&(x)->starget_data)->dv_mutex)
diff -uarpN b/include/scsi/scsi_transport_spi.h a/include/scsi/scsi_transport_spi.h
--- b/include/scsi/scsi_transport_spi.h 2007-01-24 19:19:28.000000000 -0700
+++ a/include/scsi/scsi_transport_spi.h 2007-01-28 12:39:31.000000000 -0700
@@ -85,6 +85,7 @@ struct spi_host_attrs {
#define spi_pcomp_en(x) (((struct spi_transport_attrs *)&(x)->starget_data)->pcomp_en)
#define spi_hold_mcs(x) (((struct spi_transport_attrs *)&(x)->starget_data)->hold_mcs)
#define spi_initial_dv(x) (((struct spi_transport_attrs *)&(x)->starget_data)->initial_dv)
+#define spi_dv_pending(x) (((struct spi_transport_attrs *)&(x)->starget_data)->dv_pending)
#define spi_support_sync(x) (((struct spi_transport_attrs *)&(x)->starget_data)->support_sync)
#define spi_support_wide(x) (((struct spi_transport_attrs *)&(x)->starget_data)->support_wide)
reply other threads:[~2007-01-29 16:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20070129164111.GA1873@lsil.com \
--to=eric.moore@lsi.com \
--cc=James.Bottomley@SteelEye.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;
as well as URLs for NNTP newsgroup(s).