Module Name:    src
Committed By:   jdolecek
Date:           Sun Sep 27 16:44:24 UTC 2020

Modified Files:
        src/sys/dev/ic: nvmereg.h

Log Message:
add definition of the bit indicating support for APSTA


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/ic/nvmereg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/ic/nvmereg.h
diff -u src/sys/dev/ic/nvmereg.h:1.14 src/sys/dev/ic/nvmereg.h:1.15
--- src/sys/dev/ic/nvmereg.h:1.14	Sat Oct  5 23:27:20 2019
+++ src/sys/dev/ic/nvmereg.h	Sun Sep 27 16:44:24 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: nvmereg.h,v 1.14 2019/10/05 23:27:20 mrg Exp $	*/
+/*	$NetBSD: nvmereg.h,v 1.15 2020/09/27 16:44:24 jdolecek Exp $	*/
 /*	$OpenBSD: nvmereg.h,v 1.10 2016/04/14 11:18:32 dlg Exp $ */
 
 /*
@@ -467,6 +467,7 @@ struct nvm_identify_controller {
 					   Configuration */
 	uint8_t		apsta;		/* Autonomous Power State Transition
 					   Attributes */
+#define	NVME_ID_CTRLR_APSTA_PRESENT	__BIT(0)
 
 	uint16_t	wctemp;		/* Warning Composite Temperature
 					   Threshold */

Reply via email to