linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH #upstream] libata: add SATA PMP revision information for spec 1.2
@ 2009-09-08  9:37 Shane Huang
  2009-09-09  1:21 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Shane Huang @ 2009-09-08  9:37 UTC (permalink / raw)
  To: jgarzik, tj; +Cc: linux-ide, Huang, Shane

This small patch is just adding the information for PMP spec 1.2

Signed-off-by: Shane Huang <shane.huang@amd.com>
---
 drivers/ata/libata-pmp.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/ata/libata-pmp.c b/drivers/ata/libata-pmp.c
index 619f2c3..51f0ffb 100644
--- a/drivers/ata/libata-pmp.c
+++ b/drivers/ata/libata-pmp.c
@@ -221,6 +221,8 @@ static const char *sata_pmp_spec_rev_str(const u32 *gscr)
 {
 	u32 rev = gscr[SATA_PMP_GSCR_REV];
 
+	if (rev & (1 << 3))
+		return "1.2";
 	if (rev & (1 << 2))
 		return "1.1";
 	if (rev & (1 << 1))



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH #upstream] libata: add SATA PMP revision information for spec 1.2
  2009-09-08  9:37 [PATCH #upstream] libata: add SATA PMP revision information for spec 1.2 Shane Huang
@ 2009-09-09  1:21 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2009-09-09  1:21 UTC (permalink / raw)
  To: shane.huang; +Cc: tj, linux-ide

On 09/08/2009 05:37 AM, Shane Huang wrote:
> This small patch is just adding the information for PMP spec 1.2
>
> Signed-off-by: Shane Huang<shane.huang@amd.com>
> ---
>   drivers/ata/libata-pmp.c |    2 ++
>   1 files changed, 2 insertions(+), 0 deletions(-)

applied



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-09  1:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-08  9:37 [PATCH #upstream] libata: add SATA PMP revision information for spec 1.2 Shane Huang
2009-09-09  1:21 ` Jeff Garzik

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).