summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/ata-all.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2010-11-18 19:28:45 +0000
committermav <mav@FreeBSD.org>2010-11-18 19:28:45 +0000
commitdfc44b4d0bc56eb74bf3f28dc62e081ce7efc4d4 (patch)
tree486f52aa6da65c636d8cbd155c730d66d637fb82 /sys/dev/ata/ata-all.h
parent04e0bb722d8317cd1c6b03227f1f49e480ee1c68 (diff)
downloadFreeBSD-src-dfc44b4d0bc56eb74bf3f28dc62e081ce7efc4d4.zip
FreeBSD-src-dfc44b4d0bc56eb74bf3f28dc62e081ce7efc4d4.tar.gz
Make ATA_CAM wrapper to report SATA power management capabilities to CAM to
make it configure device to initiate transitions if controller configured to accept them. This makes hint.ata.X.pm_level=1 mode working.
Diffstat (limited to 'sys/dev/ata/ata-all.h')
-rw-r--r--sys/dev/ata/ata-all.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-all.h b/sys/dev/ata/ata-all.h
index 17a28c0..1b792fc 100644
--- a/sys/dev/ata/ata-all.h
+++ b/sys/dev/ata/ata-all.h
@@ -535,6 +535,7 @@ struct ata_cam_device {
int mode;
u_int bytecount;
u_int atapi;
+ u_int caps;
};
#endif
OpenPOWER on IntegriCloud