Module Name:    src
Committed By:   ryo
Date:           Mon Oct 25 07:43:48 UTC 2021

Modified Files:
        src/sys/dev/microcode/aic7xxx: aic79xx_seq.h aic7xxx_reg.h
            aic7xxx_seq.h

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/microcode/aic7xxx/aic79xx_seq.h
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/microcode/aic7xxx/aic7xxx_reg.h
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/microcode/aic7xxx/aic7xxx_seq.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/microcode/aic7xxx/aic79xx_seq.h
diff -u src/sys/dev/microcode/aic7xxx/aic79xx_seq.h:1.12 src/sys/dev/microcode/aic7xxx/aic79xx_seq.h:1.13
--- src/sys/dev/microcode/aic7xxx/aic79xx_seq.h:1.12	Sat Jun 27 17:07:49 2020
+++ src/sys/dev/microcode/aic7xxx/aic79xx_seq.h	Mon Oct 25 07:43:48 2021
@@ -1135,5 +1135,6 @@ static const struct cs {
 	{ 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;

Index: src/sys/dev/microcode/aic7xxx/aic7xxx_reg.h
diff -u src/sys/dev/microcode/aic7xxx/aic7xxx_reg.h:1.5 src/sys/dev/microcode/aic7xxx/aic7xxx_reg.h:1.6
--- src/sys/dev/microcode/aic7xxx/aic7xxx_reg.h:1.5	Sat Jun 27 16:48:01 2020
+++ src/sys/dev/microcode/aic7xxx/aic7xxx_reg.h	Mon Oct 25 07:43:48 2021
@@ -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 {

Index: src/sys/dev/microcode/aic7xxx/aic7xxx_seq.h
diff -u src/sys/dev/microcode/aic7xxx/aic7xxx_seq.h:1.14 src/sys/dev/microcode/aic7xxx/aic7xxx_seq.h:1.15
--- src/sys/dev/microcode/aic7xxx/aic7xxx_seq.h:1.14	Sat Jun 27 17:07:49 2020
+++ src/sys/dev/microcode/aic7xxx/aic7xxx_seq.h	Mon Oct 25 07:43:48 2021
@@ -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 @@ static const struct cs {
 	{ 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;

Reply via email to