From: Dan Williams <dan.j.williams@intel.com>
To: linux-scsi@vger.kernel.org
Cc: Maciej Trela <maciej.trela@intel.com>,
linux-ide@vger.kernel.org,
Richard Boyd <richard.g.boyd@intel.com>
Subject: [isci PATCH v3 4/4] isci: enable BCN in sci_port_add_phy()
Date: Wed, 14 Mar 2012 00:14:08 -0700 [thread overview]
Message-ID: <20120314071408.7223.84179.stgit@dwillia2-linux.jf.intel.com> (raw)
In-Reply-To: <20120314071312.7223.10946.stgit@dwillia2-linux.jf.intel.com>
From: Maciej Trela <maciej.trela@intel.com>
Ensure we enable receiving BCN's from the
hardware when adding phy to isci_port.
Otherwise if we get BCN before the port is
created we won't see any BCN
Signed-off-by: Maciej Trela <maciej.trela@intel.com>
Reported-by: Richard Boyd <richard.g.boyd@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
---
drivers/scsi/isci/port.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/isci/port.c b/drivers/scsi/isci/port.c
index 6ef4bd9..0a3aec1 100644
--- a/drivers/scsi/isci/port.c
+++ b/drivers/scsi/isci/port.c
@@ -1199,6 +1199,8 @@ enum sci_status sci_port_add_phy(struct isci_port *iport,
enum sci_status status;
enum sci_port_states state;
+ sci_port_bcn_enable(iport);
+
state = iport->sm.current_state_id;
switch (state) {
case SCI_PORT_STOPPED: {
next prev parent reply other threads:[~2012-03-14 7:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-14 7:13 [isci PATCH v3 0/4] isci: suspend/resume support+ Dan Williams
2012-03-14 7:13 ` [isci PATCH v3 1/4] libata: export ata_port suspend/resume infrastructure for sas Dan Williams
2012-04-21 6:26 ` Jeff Garzik
2012-04-22 1:06 ` Dan Williams
2012-03-14 7:13 ` [isci PATCH v3 2/4] libsas: drop sata port multiplier infrastructure Dan Williams
2012-03-14 7:14 ` [isci PATCH v3 3/4] libsas: suspend / resume support Dan Williams
2012-03-14 14:21 ` Alan Stern
2012-03-14 20:44 ` Dan Williams
2012-03-14 21:11 ` Alan Stern
2012-03-14 21:33 ` Dan Williams
2012-03-15 19:28 ` Williams, Dan J
2012-03-15 19:54 ` Alan Stern
2012-03-15 22:16 ` Williams, Dan J
2012-03-16 9:18 ` Jack Wang
2012-03-22 6:27 ` Williams, Dan J
2012-03-22 7:44 ` Jack Wang
2012-03-14 7:14 ` Dan Williams [this message]
2012-03-22 6:48 ` [isci PATCH v3 0/4] isci: suspend/resume support+ Dan Williams
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=20120314071408.7223.84179.stgit@dwillia2-linux.jf.intel.com \
--to=dan.j.williams@intel.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=maciej.trela@intel.com \
--cc=richard.g.boyd@intel.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