mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
Recognize CFA devices using either identification method.
This commit is contained in:
parent
164a5044a9
commit
e34f6b7311
@ -175,6 +175,10 @@ cap_print(struct ata_params *parm)
|
||||
printf("heads %d\n", parm->heads);
|
||||
printf("sectors/track %d\n", parm->sectors);
|
||||
|
||||
if (parm->config == ATA_PROTO_CFA ||
|
||||
(parm->support.command2 & ATA_SUPPORT_CFA))
|
||||
printf("CFA supported\n");
|
||||
|
||||
printf("lba%ssupported ",
|
||||
parm->capabilities1 & ATA_SUPPORT_LBA ? " " : " not ");
|
||||
if (lbasize)
|
||||
@ -237,10 +241,6 @@ cap_print(struct ata_params *parm)
|
||||
parm->support.command1 & ATA_SUPPORT_POWERMGT ? "yes" : "no",
|
||||
parm->enabled.command1 & ATA_SUPPORT_POWERMGT ? "yes" : "no");
|
||||
|
||||
printf("(compact) flash commands %s %s\n",
|
||||
parm->support.command2 & ATA_SUPPORT_CFA ? "yes" : "no",
|
||||
parm->enabled.command2 & ATA_SUPPORT_CFA ? "yes" : "no");
|
||||
|
||||
printf("advanced power management %s %s %d/0x%02X\n",
|
||||
parm->support.command2 & ATA_SUPPORT_APM ? "yes" : "no",
|
||||
parm->enabled.command2 & ATA_SUPPORT_APM ? "yes" : "no",
|
||||
|
Loading…
Reference in New Issue
Block a user