From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Robert Hancock <hancockrwd@gmail.com>
Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org,
jgarzik@pobox.com
Subject: Re: [PATCH] libata: Export AHCI capabilities
Date: Sat, 18 Jul 2009 06:02:33 +0100 [thread overview]
Message-ID: <20090718050233.GA18236@srcf.ucam.org> (raw)
In-Reply-To: <4A61544B.5030403@gmail.com>
On Fri, Jul 17, 2009 at 10:49:15PM -0600, Robert Hancock wrote:
> Surely there's a better format for exporting this information to
> userspace than making it parse out the bits from the raw register
> contents.. how about separate sysfs files for ESP, HPCP, etc? Or
> something more abstracted at a higher level that other drivers (if they
> have access to similar information) could use?
I could split out more of the information, but there's a balance between
exposing enough that we won't need to add more values in the near future
and ending up with one sysfs file for pretty much every capabilities
bit. I'm not aware of any cases where we can currently generalise this
to other controllers, but I'm happy to be proven wrong on that.
--
Matthew Garrett | mjg59@srcf.ucam.org
next prev parent reply other threads:[~2009-07-18 5:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-17 18:13 [PATCH] libata: Export AHCI capabilities Matthew Garrett
2009-07-18 4:49 ` Robert Hancock
2009-07-18 5:02 ` Matthew Garrett [this message]
2009-08-10 13:36 ` Matthew Garrett
2009-08-15 21:07 ` Jeff Garzik
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=20090718050233.GA18236@srcf.ucam.org \
--to=mjg59@srcf.ucam.org \
--cc=hancockrwd@gmail.com \
--cc=jgarzik@pobox.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@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).