Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/microcode/aic7xxx regen



details:   https://anonhg.NetBSD.org/src/rev/e2f5781a0166
branches:  trunk
changeset: 990061:e2f5781a0166
user:      ryo <ryo%NetBSD.org@localhost>
date:      Mon Oct 25 07:43:48 2021 +0000

description:
regen

diffstat:

 sys/dev/microcode/aic7xxx/aic79xx_seq.h |  5 +++--
 sys/dev/microcode/aic7xxx/aic7xxx_reg.h |  4 ++--
 sys/dev/microcode/aic7xxx/aic7xxx_seq.h |  9 +++++----
 3 files changed, 10 insertions(+), 8 deletions(-)

diffs (49 lines):

diff -r d372e18ef160 -r e2f5781a0166 sys/dev/microcode/aic7xxx/aic79xx_seq.h
--- a/sys/dev/microcode/aic7xxx/aic79xx_seq.h   Mon Oct 25 07:41:41 2021 +0000
+++ b/sys/dev/microcode/aic7xxx/aic79xx_seq.h   Mon Oct 25 07:43:48 2021 +0000
@@ -1135,5 +1135,6 @@
        { 721, 725 }
 };
 
-static const int num_critical_sections = sizeof(critical_sections)
-                                      / sizeof(*critical_sections);
+#define NUM_CRITICAL_SECTIONS  \
+    (sizeof(critical_sections) / sizeof(*critical_sections))
+static const int num_critical_sections = NUM_CRITICAL_SECTIONS;
diff -r d372e18ef160 -r e2f5781a0166 sys/dev/microcode/aic7xxx/aic7xxx_reg.h
--- a/sys/dev/microcode/aic7xxx/aic7xxx_reg.h   Mon Oct 25 07:41:41 2021 +0000
+++ b/sys/dev/microcode/aic7xxx/aic7xxx_reg.h   Mon Oct 25 07:43:48 2021 +0000
@@ -2,8 +2,8 @@
  * DO NOT EDIT - This file is automatically generated
  *              from the following source files:
  *
- * NetBSD: aic7xxx.seq,v 1.20 2019/06/04 10:15:22 msaitoh Exp $
- * NetBSD: aic7xxx.reg,v 1.4 2005/12/11 12:22:18 christos Exp $
+ * NetBSD: aic7xxx.seq,v 1.21 2021/09/03 22:33:17 andvar Exp $
+ * NetBSD: aic7xxx.reg,v 1.5 2021/08/07 19:41:14 andvar Exp $
  */
 typedef int (ahc_reg_print_t)(u_int, u_int *, u_int);
 typedef struct ahc_reg_parse_entry {
diff -r d372e18ef160 -r e2f5781a0166 sys/dev/microcode/aic7xxx/aic7xxx_seq.h
--- a/sys/dev/microcode/aic7xxx/aic7xxx_seq.h   Mon Oct 25 07:41:41 2021 +0000
+++ b/sys/dev/microcode/aic7xxx/aic7xxx_seq.h   Mon Oct 25 07:43:48 2021 +0000
@@ -2,8 +2,8 @@
  * DO NOT EDIT - This file is automatically generated
  *              from the following source files:
  *
- * NetBSD: aic7xxx.seq,v 1.20 2019/06/04 10:15:22 msaitoh Exp $
- * NetBSD: aic7xxx.reg,v 1.4 2005/12/11 12:22:18 christos Exp $
+ * NetBSD: aic7xxx.seq,v 1.21 2021/09/03 22:33:17 andvar Exp $
+ * NetBSD: aic7xxx.reg,v 1.5 2021/08/07 19:41:14 andvar Exp $
  */
 static const uint8_t seqprog[] = {
        0xb2, 0x00, 0x00, 0x08,
@@ -1313,5 +1313,6 @@
        { 884, 886 }
 };
 
-static const int num_critical_sections = sizeof(critical_sections)
-                                      / sizeof(*critical_sections);
+#define NUM_CRITICAL_SECTIONS  \
+    (sizeof(critical_sections) / sizeof(*critical_sections))
+static const int num_critical_sections = NUM_CRITICAL_SECTIONS;



Home | Main Index | Thread Index | Old Index