From 9d599522c34d50670d900f9e7d662293213993c3 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 16 Dec 2007 15:11:40 +0000 Subject: [PATCH] Report CFA extension, CFA -> (Compact) Flash Association --- sbin/atacontrol/atacontrol.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sbin/atacontrol/atacontrol.c b/sbin/atacontrol/atacontrol.c index 451ae75f4157..cf5b350d9280 100644 --- a/sbin/atacontrol/atacontrol.c +++ b/sbin/atacontrol/atacontrol.c @@ -237,6 +237,10 @@ 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",