public inbox for linux-ide@vger.kernel.org
 help / color / mirror / Atom feed
From: Shane Huang <shane.huang@amd.com>
To: jgarzik@pobox.com
Cc: linux-ide@vger.kernel.org, htejun@gmail.com, shane.huang@amd.com
Subject: [PATCH] Add SATA GEN3 related messages
Date: Tue, 18 Nov 2008 17:33:38 +0800	[thread overview]
Message-ID: <1227000818.5631.12.camel@chunhao-desktop> (raw)

The present AHCI driver seems to support SATA GEN 3 speed, but the related
messages should be modified.

Signed-off-by: Shane Huang <shane.huang@amd.com>

diff -ruN c/drivers/ata/ahci.c d/drivers/ata/ahci.c
--- c/drivers/ata/ahci.c	2008-11-07 11:23:24.000000000 +0800
+++ d/drivers/ata/ahci.c	2008-11-07 13:47:46.000000000 +0800
@@ -2446,6 +2446,8 @@
 		speed_s = "1.5";
 	else if (speed == 2)
 		speed_s = "3";
+	else if (speed == 3)
+		speed_s = "6";
 	else
 		speed_s = "?";
 
diff -ruN c/drivers/ata/libata-core.c d/drivers/ata/libata-core.c
--- c/drivers/ata/libata-core.c	2008-11-07 13:46:39.000000000 +0800
+++ d/drivers/ata/libata-core.c	2008-11-07 13:46:23.000000000 +0800
@@ -930,6 +930,7 @@
 	static const char * const spd_str[] = {
 		"1.5 Gbps",
 		"3.0 Gbps",
+		"6.0 Gbps",
 	};
 
 	if (spd == 0 || (spd - 1) >= ARRAY_SIZE(spd_str))



             reply	other threads:[~2008-11-18  9:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-18  9:33 Shane Huang [this message]
2008-11-18 11:13 ` [PATCH] Add SATA GEN3 related messages Tejun Heo
2008-11-19  3:15   ` Huang, Shane
2008-11-19  3:44     ` Tejun Heo
  -- strict thread matches above, loose matches on Subject: below --
2008-12-30  3:00 Shane Huang

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=1227000818.5631.12.camel@chunhao-desktop \
    --to=shane.huang@amd.com \
    --cc=htejun@gmail.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-ide@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