diff options
| author | jdolecek <jdolecek@NetBSD.org> | 2001-01-18 20:28:15 +0000 |
|---|---|---|
| committer | jdolecek <jdolecek@NetBSD.org> | 2001-01-18 20:28:15 +0000 |
| commit | 34c8ae80dab7dff7ee69b219c6bf49ca6e84e73f (patch) | |
| tree | 625354b477ae0db6bb663fa25ffc8be7214a49a0 /sys/dev/microcode | |
| parent | e912e655e179f7c8dd5317da1faff48b8b02cf8e (diff) | |
constify
Diffstat (limited to 'sys/dev/microcode')
| -rw-r--r-- | sys/dev/microcode/aic7xxx/aic7xxx_seq.h | 2 | ||||
| -rw-r--r-- | sys/dev/microcode/aic7xxx/aicasm.c | 4 |
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)) { |
