mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
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: Shane Huang <shane.huang@amd.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
ac8672ea92
commit
deeb003e5e
1 changed files with 2 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue