xref: /illumos-gate/usr/src/uts/common/io/scsi/adapters/lmrc/lmrc_phys.h (revision 98f0a994ee13c4f450852a3d01f2e340abe69fb8)
1 /*
2  * This file and its contents are supplied under the terms of the
3  * Common Development and Distribution License ("CDDL"), version 1.0.
4  * You may only use this file in accordance with the terms of version
5  * 1.0 of the CDDL.
6  *
7  * A full copy of the text of the CDDL should have accompanied this
8  * source.  A copy of the CDDL is also available via the Internet at
9  * http://www.illumos.org/license/CDDL.
10  */
11 
12 /*
13  * Copyright 2024 Racktop Systems, Inc.
14  */
15 
16 #ifndef _LMRC_PHYS_H
17 #define	_LMRC_PHYS_H
18 
19 #include <sys/types.h>
20 #include <sys/debug.h>
21 
22 #include <sys/scsi/adapters/mfi/mfi_evt.h>
23 
24 #include "lmrc.h"
25 #include "lmrc_raid.h"
26 
27 int lmrc_setup_pdmap(lmrc_t *);
28 void lmrc_free_pdmap(lmrc_t *);
29 
30 boolean_t lmrc_pd_tm_capable(lmrc_t *, uint16_t);
31 
32 int lmrc_get_pd_list(lmrc_t *);
33 
34 int lmrc_phys_attach(dev_info_t *);
35 int lmrc_phys_detach(dev_info_t *);
36 
37 int lmrc_phys_aen_handler(lmrc_t *, mfi_evt_detail_t *);
38 
39 #endif /* _LMRC_PHYS_H */
40