summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authormsaitoh <msaitoh@NetBSD.org>2022-05-11 15:30:33 +0000
committermsaitoh <msaitoh@NetBSD.org>2022-05-11 15:30:33 +0000
commitc79b3fe9facf99c701fb8e4b9fbcc6f8203e1e36 (patch)
tree64a723eafe16ac9972ae5333ae1c34dabceaa4ca /sys/dev/ic
parent8782b951881bbc8ed3a89af0fe67270ef1c145af (diff)
Add support for iBBU-09 to show BBU voltage, current and temp correctly.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/mfireg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/mfireg.h b/sys/dev/ic/mfireg.h
index 7fa0fe41ab9..32371faf60d 100644
--- a/sys/dev/ic/mfireg.h
+++ b/sys/dev/ic/mfireg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: mfireg.h,v 1.17 2022/05/11 15:20:54 msaitoh Exp $ */
+/* $NetBSD: mfireg.h,v 1.18 2022/05/11 15:30:33 msaitoh Exp $ */
/* $OpenBSD: mfireg.h,v 1.24 2006/06/19 19:05:45 marco Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
@@ -1234,6 +1234,7 @@ struct mfi_bbu_status {
#define MFI_BBU_TYPE_NONE 0
#define MFI_BBU_TYPE_IBBU 1
#define MFI_BBU_TYPE_BBU 2
+#define MFI_BBU_TYPE_IBBU09 5
uint8_t reserved;
uint16_t voltage;
int16_t current;