summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2010-05-02 12:07:47 +0000
committermav <mav@FreeBSD.org>2010-05-02 12:07:47 +0000
commit90843ddc5c2afced3e89219701abb4384aba3190 (patch)
treeb5c5b295203637665fed48360b91930d6b26ea37 /sbin
parent4e502e1ceb65ddf828e427fe014e2a31cff0307a (diff)
downloadFreeBSD-src-90843ddc5c2afced3e89219701abb4384aba3190.zip
FreeBSD-src-90843ddc5c2afced3e89219701abb4384aba3190.tar.gz
Make SATA XPT negotiate and enable some additional SATA features, such as:
- device initiated power management (some devices support only this way); - Automatic Partial to Slumber Transition (more power saving); - DMA auto-activation (expected to slightly improve performance). More features could be added later, when hardware supports.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/camcontrol/camcontrol.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/camcontrol/camcontrol.c b/sbin/camcontrol/camcontrol.c
index 9136cbe..c39d7ba 100644
--- a/sbin/camcontrol/camcontrol.c
+++ b/sbin/camcontrol/camcontrol.c
@@ -2855,6 +2855,10 @@ cts_print(struct cam_device *device, struct ccb_trans_settings *cts)
fprintf(stdout, "%sNumber of tags: %d\n", pathstr,
sata->tags);
}
+ if ((sata->valid & CTS_SATA_VALID_CAPS) != 0) {
+ fprintf(stdout, "%sSATA capabilities: %08x\n", pathstr,
+ sata->caps);
+ }
}
if (cts->protocol == PROTO_SCSI) {
struct ccb_trans_settings_scsi *scsi=
OpenPOWER on IntegriCloud