xref: /illumos-gate/usr/src/uts/common/sys/nvme/micron_9550.h (revision fbd5b8684156f1cae0891d3e690e5bdf7644c840)
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 2025 Oxide Computer Company
14  */
15 
16 #ifndef _SYS_NVME_MICRON_9550_H
17 #define	_SYS_NVME_MICRON_9550_H
18 
19 /*
20  * This header defines vendor-specific NVMe interfaces and is not a committed
21  * interface. Its contents and existence are subject to change.
22  *
23  * This covers the Micron 9550 series devices.
24  */
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 #define	MICRON_9550_PRO_DID	0x51bb
31 #define	MICRON_9550_MAX_DID	0x51bd
32 
33 typedef enum {
34 	MICRON_9550_LOG_OCP_SMART	= OCP_LOG_DSSD_SMART,
35 	MICRON_9550_LOG_OCP_ERRREC	= OCP_LOG_DSSD_ERROR_REC,
36 	MICRON_9550_LOG_OCP_FWACT	= OCP_LOG_DSSD_FWACT,
37 	MICRON_9550_LOG_OCP_LATENCY	= OCP_LOG_DSSD_LATENCY,
38 	MICRON_9550_LOG_OCP_DEV_CAP	= OCP_LOG_DSSD_DEV_CAP,
39 	MICRON_9550_LOG_OCP_UNSUP	= OCP_LOG_DSSD_UNSUP_REQ,
40 	MICRON_9550_LOG_OCP_TELEMETRY	= OCP_LOG_DSSD_TELEMETRY,
41 } micron_9500_vul_t;
42 
43 #ifdef __cplusplus
44 }
45 #endif
46 
47 #endif /* _SYS_NVME_MICRON_9550_H */
48