Re: [PATCH] Add SATA GEN3 related messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Shane Huang wrote:
> 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@xxxxxxx>
> 
> 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))

Sweeeeettt.  Can you also update the force_tbl and force param handling?

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux