Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Add a file type entry for CLM files.
details: https://anonhg.NetBSD.org/src/rev/8adb590df670
branches: trunk
changeset: 746223:8adb590df670
user: thorpej <thorpej%NetBSD.org@localhost>
date: Wed Mar 25 04:53:11 2020 +0000
description:
Add a file type entry for CLM files.
diffstat:
sys/dev/ic/bwfm.c | 6 +++++-
sys/dev/ic/bwfmvar.h | 5 +++--
2 files changed, 8 insertions(+), 3 deletions(-)
diffs (39 lines):
diff -r 941301b3b607 -r 8adb590df670 sys/dev/ic/bwfm.c
--- a/sys/dev/ic/bwfm.c Wed Mar 25 03:44:44 2020 +0000
+++ b/sys/dev/ic/bwfm.c Wed Mar 25 04:53:11 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bwfm.c,v 1.21 2020/03/25 03:44:44 thorpej Exp $ */
+/* $NetBSD: bwfm.c,v 1.22 2020/03/25 04:53:11 thorpej Exp $ */
/* $OpenBSD: bwfm.c,v 1.5 2017/10/16 22:27:16 patrick Exp $ */
/*
* Copyright (c) 2010-2016 Broadcom Corporation
@@ -144,6 +144,10 @@
.suffix = "txt",
.description = "NVRAM",
},
+ [BWFM_FILETYPE_CLM] = {
+ .suffix = "clm_blob",
+ .description = "CLM",
+ },
};
static void
diff -r 941301b3b607 -r 8adb590df670 sys/dev/ic/bwfmvar.h
--- a/sys/dev/ic/bwfmvar.h Wed Mar 25 03:44:44 2020 +0000
+++ b/sys/dev/ic/bwfmvar.h Wed Mar 25 04:53:11 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bwfmvar.h,v 1.7 2020/03/25 03:44:44 thorpej Exp $ */
+/* $NetBSD: bwfmvar.h,v 1.8 2020/03/25 04:53:11 thorpej Exp $ */
/* $OpenBSD: bwfmvar.h,v 1.1 2017/10/11 17:19:50 patrick Exp $ */
/*
* Copyright (c) 2010-2016 Broadcom Corporation
@@ -85,7 +85,8 @@
#define BWFM_FILETYPE_UCODE 0
#define BWFM_FILETYPE_NVRAM 1
-#define BWFM_NFILETYPES 2
+#define BWFM_FILETYPE_CLM 2
+#define BWFM_NFILETYPES 3
struct bwfm_firmware_context {
/* inputs */
Home |
Main Index |
Thread Index |
Old Index