linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Williams <dan.j.williams@intel.com>
To: linux-scsi@vger.kernel.org
Cc: linux-ide@vger.kernel.org
Subject: [isci PATCH v3 2/4] libsas: drop sata port multiplier infrastructure
Date: Wed, 14 Mar 2012 00:13:58 -0700	[thread overview]
Message-ID: <20120314071358.7223.50016.stgit@dwillia2-linux.jf.intel.com> (raw)
In-Reply-To: <20120314071312.7223.10946.stgit@dwillia2-linux.jf.intel.com>

On the way to add a new sata_device field, noticed that libsas is
carrying port multiplier infrastructure that is explicitly disabled by
sas_discover_sata().  The aic94xx touches the unused port_no, so leave
that field in case there was some use for it.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
---
 drivers/scsi/libsas/sas_discover.c |    6 ------
 include/scsi/libsas.h              |    1 -
 2 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/drivers/scsi/libsas/sas_discover.c b/drivers/scsi/libsas/sas_discover.c
index c140355..2864b17 100644
--- a/drivers/scsi/libsas/sas_discover.c
+++ b/drivers/scsi/libsas/sas_discover.c
@@ -46,12 +46,6 @@ void sas_init_dev(struct domain_device *dev)
 		INIT_LIST_HEAD(&dev->ex_dev.children);
 		mutex_init(&dev->ex_dev.cmd_mutex);
 		break;
-	case SATA_DEV:
-	case SATA_PM:
-	case SATA_PM_PORT:
-	case SATA_PENDING:
-		INIT_LIST_HEAD(&dev->sata_dev.children);
-		break;
 	default:
 		break;
 	}
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h
index 1b14d80..ad5229a 100644
--- a/include/scsi/libsas.h
+++ b/include/scsi/libsas.h
@@ -167,7 +167,6 @@ struct sata_device {
         enum   ata_command_set command_set;
         struct smp_resp        rps_resp; /* report_phy_sata_resp */
         u8     port_no;        /* port number, if this is a PM (Port) */
-        struct list_head children; /* PM Ports if this is a PM */
 
 	struct ata_port *ap;
 	struct ata_host ata_host;


  parent reply	other threads:[~2012-03-14  7:13 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 ` Dan Williams [this message]
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 ` [isci PATCH v3 4/4] isci: enable BCN in sci_port_add_phy() Dan Williams
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=20120314071358.7223.50016.stgit@dwillia2-linux.jf.intel.com \
    --to=dan.j.williams@intel.com \
    --cc=linux-ide@vger.kernel.org \
    --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).