All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aaron Lu <aaron.lu@amd.com>
To: Alan Stern <stern@rowland.harvard.edu>,
	"Rafael J. Wysocki" <rjw@sisk.pl>
Cc: linux pm mailing list <linux-pm@vger.kernel.org>,
	linux scsi mailing list <linux-scsi@vger.kernel.org>,
	linux ide mailing list <linux-ide@vger.kernel.org>,
	Lin Ming <ming.m.lin@intel.com>
Subject: [RFC]pass pm related information from ata to scsi
Date: Mon, 14 May 2012 18:02:07 +0800	[thread overview]
Message-ID: <20120514100206.GA3006@localhost.amd.com> (raw)

Hi,

ATA ODD has a new feature called device attention, which means it can
notify sata host that it needs power when in powered off state.

In libata, we can set a flag(ATA_DFLAG_DA) to represent this when
identifying the ata device. And when we are going to create the scsi
device(in ata_scsi_scan_host by __scsi_add_device), I hope the scsi
driver(sr) knows that this ODD supports device attention in its probe
function(sr_probe).

I didn't find a proper way to do this, any suggestions?
Thanks.


             reply	other threads:[~2012-05-14 10:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-14 10:02 Aaron Lu [this message]
2012-05-14 14:20 ` [RFC]pass pm related information from ata to scsi Alan Stern

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=20120514100206.GA3006@localhost.amd.com \
    --to=aaron.lu@amd.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=ming.m.lin@intel.com \
    --cc=rjw@sisk.pl \
    --cc=stern@rowland.harvard.edu \
    /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.