summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authorjdolecek <jdolecek@NetBSD.org>2001-01-18 20:28:15 +0000
committerjdolecek <jdolecek@NetBSD.org>2001-01-18 20:28:15 +0000
commit34c8ae80dab7dff7ee69b219c6bf49ca6e84e73f (patch)
tree625354b477ae0db6bb663fa25ffc8be7214a49a0 /sys/dev/microcode
parente912e655e179f7c8dd5317da1faff48b8b02cf8e (diff)
constify
Diffstat (limited to 'sys/dev/microcode')
-rw-r--r--sys/dev/microcode/aic7xxx/aic7xxx_seq.h2
-rw-r--r--sys/dev/microcode/aic7xxx/aicasm.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/microcode/aic7xxx/aic7xxx_seq.h b/sys/dev/microcode/aic7xxx/aic7xxx_seq.h
index 63dcd3e7edb..96d86d03ccc 100644
--- a/sys/dev/microcode/aic7xxx/aic7xxx_seq.h
+++ b/sys/dev/microcode/aic7xxx/aic7xxx_seq.h
@@ -1,7 +1,7 @@
/*
* DO NOT EDIT - This file is automatically generated.
*/
-static u_int8_t seqprog[] = {
+static const u_int8_t seqprog[] = {
0xff, 0x6a, 0x06, 0x08,
0x08, 0x6a, 0x68, 0x00,
0x7f, 0x02, 0x04, 0x08,
diff --git a/sys/dev/microcode/aic7xxx/aicasm.c b/sys/dev/microcode/aic7xxx/aicasm.c
index 1e1b352872d..c1ef4a3d7a0 100644
--- a/sys/dev/microcode/aic7xxx/aicasm.c
+++ b/sys/dev/microcode/aic7xxx/aicasm.c
@@ -1,4 +1,4 @@
-/* $NetBSD: aicasm.c,v 1.1 2000/03/15 02:09:13 fvdl Exp $ */
+/* $NetBSD: aicasm.c,v 1.2 2001/01/18 20:28:18 jdolecek Exp $ */
/*
* Aic7xxx SCSI host adapter firmware asssembler
@@ -310,7 +310,7 @@ output_code(ofile)
* DO NOT EDIT - This file is automatically generated.
*/\n");
- fprintf(ofile, "static u_int8_t seqprog[] = {\n");
+ fprintf(ofile, "static const u_int8_t seqprog[] = {\n");
for(cur_instr = STAILQ_FIRST(&seq_program);
cur_instr != NULL;
cur_instr = STAILQ_NEXT(cur_instr, links)) {