aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/ctl/ctl.h
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2019-07-26 03:49:16 +0000
committerAlexander Motin <mav@FreeBSD.org>2019-07-26 03:49:16 +0000
commitae8828bad15eb79115271a76fdfb8253435abb77 (patch)
tree58a7f7a5d3ef2ffca5d84b40e968b17961cc8968 /sys/cam/ctl/ctl.h
parent0ea67e70196581258e50c635edf7b2fd2aecb22b (diff)
downloadsrc-ae8828bad15eb79115271a76fdfb8253435abb77.tar.gz
src-ae8828bad15eb79115271a76fdfb8253435abb77.zip
Add device temperature reporting into CTL.
The values to report can be set via LUN options. It can be useful for testing, and also required for Drive Maintenance 2016 feature set. MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=350346
Diffstat (limited to 'sys/cam/ctl/ctl.h')
-rw-r--r--sys/cam/ctl/ctl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/cam/ctl/ctl.h b/sys/cam/ctl/ctl.h
index 9f8fd32e72f1..56dd5313b4cb 100644
--- a/sys/cam/ctl/ctl.h
+++ b/sys/cam/ctl/ctl.h
@@ -158,6 +158,9 @@ int ctl_default_page_handler(struct ctl_scsiio *ctsio,
int ctl_ie_page_handler(struct ctl_scsiio *ctsio,
struct ctl_page_index *page_index,
uint8_t *page_ptr);
+int ctl_temp_log_sense_handler(struct ctl_scsiio *ctsio,
+ struct ctl_page_index *page_index,
+ int pc);
int ctl_lbp_log_sense_handler(struct ctl_scsiio *ctsio,
struct ctl_page_index *page_index,
int pc);