diff options
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 96d86d03ccc..02df00b1710 100644 --- a/sys/dev/microcode/aic7xxx/aic7xxx_seq.h +++ b/sys/dev/microcode/aic7xxx/aic7xxx_seq.h @@ -863,7 +863,7 @@ ahc_patch0_func(struct ahc_softc *ahc) } typedef int patch_func_t __P((struct ahc_softc *)); -struct patch { +const struct patch { patch_func_t *patch_func; u_int32_t begin :10, skip_instr :10, diff --git a/sys/dev/microcode/aic7xxx/aicasm.c b/sys/dev/microcode/aic7xxx/aicasm.c index c1ef4a3d7a0..5e0f92a0e6b 100644 --- a/sys/dev/microcode/aic7xxx/aicasm.c +++ b/sys/dev/microcode/aic7xxx/aicasm.c @@ -1,4 +1,4 @@ -/* $NetBSD: aicasm.c,v 1.2 2001/01/18 20:28:18 jdolecek Exp $ */ +/* $NetBSD: aicasm.c,v 1.3 2001/01/22 14:30:44 jdolecek Exp $ */ /* * Aic7xxx SCSI host adapter firmware asssembler @@ -352,7 +352,7 @@ ahc_patch%d_func(struct ahc_softc *ahc) fprintf(ofile, "typedef int patch_func_t __P((struct ahc_softc *)); -struct patch { +const struct patch { patch_func_t *patch_func; u_int32_t begin :10, skip_instr :10, |
