From a7e3ab1daccdf6b2293c6bae6b5b49c96c68a798 Mon Sep 17 00:00:00 2001 From: mav Date: Wed, 2 Jul 2014 10:35:06 +0000 Subject: MFC r267481, r267952: Implement small KPI to access LUN options instead doing it by hands. --- sys/cam/ctl/ctl_backend.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sys/cam/ctl/ctl_backend.h') diff --git a/sys/cam/ctl/ctl_backend.h b/sys/cam/ctl/ctl_backend.h index ad93119..640a7f9 100644 --- a/sys/cam/ctl/ctl_backend.h +++ b/sys/cam/ctl/ctl_backend.h @@ -301,6 +301,14 @@ int ctl_lun_online(struct ctl_be_lun *be_lun); */ void ctl_lun_capacity_changed(struct ctl_be_lun *be_lun); +/* + * KPI to manipulate LUN options + */ +struct ctl_lun_req; +void ctl_init_opts(struct ctl_be_lun *be_lun, struct ctl_lun_req *req); +void ctl_free_opts(struct ctl_be_lun *be_lun); +char * ctl_get_opt(struct ctl_be_lun *be_lun, const char *name); + #endif /* _KERNEL */ #endif /* _CTL_BACKEND_H_ */ -- cgit v1.1