summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2005-10-04 23:52:06 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2005-10-04 23:52:06 +0000
commited6b3a9323eda5a9f947143ff7448278671944cd (patch)
treed2ac94470bb1638574b23fed68dc300b64ba17fc /sys/dev/microcode
parent77d26456becee7664ac6c527a74d954c4fda886b (diff)
Sync with new aicasm.c. No functional change.
Diffstat (limited to 'sys/dev/microcode')
-rw-r--r--sys/dev/microcode/aic7xxx/aic79xx_seq.h7
-rw-r--r--sys/dev/microcode/aic7xxx/aic7xxx_seq.h5
2 files changed, 5 insertions, 7 deletions
diff --git a/sys/dev/microcode/aic7xxx/aic79xx_seq.h b/sys/dev/microcode/aic7xxx/aic79xx_seq.h
index b870c824972..9de96582b48 100644
--- a/sys/dev/microcode/aic7xxx/aic79xx_seq.h
+++ b/sys/dev/microcode/aic7xxx/aic79xx_seq.h
@@ -1,9 +1,9 @@
-/* $OpenBSD: aic79xx_seq.h,v 1.5 2004/12/11 00:12:25 krw Exp $ */
+/* $OpenBSD: aic79xx_seq.h,v 1.6 2005/10/04 23:52:05 krw Exp $ */
/*
* DO NOT EDIT - This file is automatically generated
* from the following source files:
*
- * Id: aic79xx.seq,v 1.5 2004/12/11 00:08:43 krw Exp
+ * Id: aic79xx.seq,v 1.6 2005/03/23 23:47:22 deraadt Exp
* Id: aic79xx.reg,v 1.4 2004/12/11 00:08:43 krw Exp
*/
static const uint8_t seqprog[] = {
@@ -1187,5 +1187,4 @@ static const struct cs {
{ 759, 763 }
};
-static const int num_critical_sections = sizeof(critical_sections)
- / sizeof(*critical_sections);
+#define NUM_CRITICAL_SECTIONS (sizeof(critical_sections) / sizeof(*critical_sections))
diff --git a/sys/dev/microcode/aic7xxx/aic7xxx_seq.h b/sys/dev/microcode/aic7xxx/aic7xxx_seq.h
index 58063c8333f..bd0bf98d2b2 100644
--- a/sys/dev/microcode/aic7xxx/aic7xxx_seq.h
+++ b/sys/dev/microcode/aic7xxx/aic7xxx_seq.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: aic7xxx_seq.h,v 1.16 2004/09/18 19:56:53 mickey Exp $ */
+/* $OpenBSD: aic7xxx_seq.h,v 1.17 2005/10/04 23:52:04 krw Exp $ */
/*
* DO NOT EDIT - This file is automatically generated
* from the following source files:
@@ -1305,5 +1305,4 @@ static const struct cs {
{ 875, 877 }
};
-static const int num_critical_sections = sizeof(critical_sections)
- / sizeof(*critical_sections);
+#define NUM_CRITICAL_SECTIONS (sizeof(critical_sections) / sizeof(*critical_sections))