From 34c8ae80dab7dff7ee69b219c6bf49ca6e84e73f Mon Sep 17 00:00:00 2001 From: jdolecek Date: Thu, 18 Jan 2001 20:28:15 +0000 Subject: constify --- sys/dev/microcode/aic7xxx/aic7xxx_seq.h | 2 +- sys/dev/microcode/aic7xxx/aicasm.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/microcode') 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)) { -- cgit