Commit deeb003e authored by Shane Huang's avatar Shane Huang Committed by Jeff Garzik

libata: add SATA PMP revision information for spec 1.2

This small patch is just adding the information for PMP spec 1.2
Signed-off-by: default avatarShane Huang <shane.huang@amd.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent ac8672ea
...@@ -221,6 +221,8 @@ static const char *sata_pmp_spec_rev_str(const u32 *gscr) ...@@ -221,6 +221,8 @@ static const char *sata_pmp_spec_rev_str(const u32 *gscr)
{ {
u32 rev = gscr[SATA_PMP_GSCR_REV]; u32 rev = gscr[SATA_PMP_GSCR_REV];
if (rev & (1 << 3))
return "1.2";
if (rev & (1 << 2)) if (rev & (1 << 2))
return "1.1"; return "1.1";
if (rev & (1 << 1)) if (rev & (1 << 1))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment