Report SATA 3.x devices.
This commit is contained in:
parent
4598c08b9b
commit
14a0f03de2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197541
@ -80,7 +80,9 @@ ata_print_ident(struct ata_params *ident_data)
|
||||
printf("<%s %s> ATA/ATAPI-%d",
|
||||
product, revision, ata_version(ident_data->version_major));
|
||||
if (ident_data->satacapabilities && ident_data->satacapabilities != 0xffff) {
|
||||
if (ident_data->satacapabilities & ATA_SATA_GEN2)
|
||||
if (ident_data->satacapabilities & ATA_SATA_GEN3)
|
||||
printf(" SATA 3.x");
|
||||
else if (ident_data->satacapabilities & ATA_SATA_GEN2)
|
||||
printf(" SATA 2.x");
|
||||
else if (ident_data->satacapabilities & ATA_SATA_GEN1)
|
||||
printf(" SATA 1.x");
|
||||
|
Loading…
Reference in New Issue
Block a user