summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/ispvar.h4
-rw-r--r--sys/dev/microcode/isp/asm_pci.h4
-rw-r--r--sys/dev/microcode/isp/asm_sbus.h4
-rw-r--r--sys/dev/pci/isp_pci.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/ic/ispvar.h b/sys/dev/ic/ispvar.h
index 46727b93e57..b4091ea806c 100644
--- a/sys/dev/ic/ispvar.h
+++ b/sys/dev/ic/ispvar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: ispvar.h,v 1.2 1997/03/12 21:07:07 cgd Exp $ */
+/* $NetBSD: ispvar.h,v 1.3 1997/03/13 03:33:05 mycroft Exp $ */
/*
* Soft Definitions for for Qlogic ISP SCSI adapters.
@@ -52,7 +52,7 @@ struct ispmdvec {
__P((struct ispsoftc *, struct scsi_xfer *, u_int32_t));
void (*dv_reset0) __P((struct ispsoftc *));
void (*dv_reset1) __P((struct ispsoftc *));
- u_int16_t * dv_ispfw; /* ptr to f/w */
+ const u_int16_t *dv_ispfw; /* ptr to f/w */
u_int16_t dv_fwlen; /* length of f/w */
u_int16_t dv_codeorg; /* code ORG for f/w */
/*
diff --git a/sys/dev/microcode/isp/asm_pci.h b/sys/dev/microcode/isp/asm_pci.h
index f6140819b4d..c94b680480b 100644
--- a/sys/dev/microcode/isp/asm_pci.h
+++ b/sys/dev/microcode/isp/asm_pci.h
@@ -1,4 +1,4 @@
-/* $NetBSD: asm_pci.h,v 1.2 1997/03/12 21:07:25 cgd Exp $ */
+/* $NetBSD: asm_pci.h,v 1.3 1997/03/13 03:33:09 mycroft Exp $ */
/*
* Copyright (c) 1997 by Matthew Jacob
@@ -11,7 +11,7 @@
*/
#define ISP_CODE_ORG 0x1000
-static unsigned short ISP_RISC_CODE[] = {
+static const unsigned short ISP_RISC_CODE[] = {
0x0078, 0x1041, 0x0000, 0x283a, 0x0000, 0x2043, 0x4f50, 0x5952,
0x4947, 0x4854, 0x2031, 0x3939, 0x312c, 0x3139, 0x3932, 0x2c31,
0x3939, 0x332c, 0x3139, 0x3934, 0x2051, 0x4c4f, 0x4749, 0x4320,
diff --git a/sys/dev/microcode/isp/asm_sbus.h b/sys/dev/microcode/isp/asm_sbus.h
index 1f6db9a8e63..ec0d571f05e 100644
--- a/sys/dev/microcode/isp/asm_sbus.h
+++ b/sys/dev/microcode/isp/asm_sbus.h
@@ -1,4 +1,4 @@
-/* $NetBSD: asm_sbus.h,v 1.2 1997/03/12 21:07:34 cgd Exp $ */
+/* $NetBSD: asm_sbus.h,v 1.3 1997/03/13 03:33:11 mycroft Exp $ */
/*
* Copyright (c) 1997 by Matthew Jacob
@@ -11,7 +11,7 @@
*/
#define ISP_CODE_ORG 0x1000
-static unsigned short ISP_RISC_CODE[] = {
+static const unsigned short ISP_RISC_CODE[] = {
0x0078, 0x1030, 0x0000, 0x231f, 0x0000, 0x12ff, 0x2043, 0x4f50,
0x5952, 0x4947, 0x4854, 0x2031, 0x3939, 0x312c, 0x3139, 0x3932,
0x2c31, 0x3939, 0x332c, 0x3139, 0x3934, 0x2051, 0x4c4f, 0x4749,
diff --git a/sys/dev/pci/isp_pci.c b/sys/dev/pci/isp_pci.c
index 110a601f7ef..0f02a762196 100644
--- a/sys/dev/pci/isp_pci.c
+++ b/sys/dev/pci/isp_pci.c
@@ -1,4 +1,4 @@
-/* $NetBSD: isp_pci.c,v 1.3 1997/03/13 01:56:06 cgd Exp $ */
+/* $NetBSD: isp_pci.c,v 1.4 1997/03/13 03:33:07 mycroft Exp $ */
/*
* PCI specific probe and attach routines for Qlogic ISP SCSI adapters.
@@ -79,7 +79,7 @@ static struct ispmdvec mdvec = {
NULL,
NULL,
isp_pci_reset1,
- (u_int16_t *) ISP_RISC_CODE,
+ (const u_int16_t *) ISP_RISC_CODE,
ISP_CODE_LENGTH,
ISP_CODE_ORG,
/* BIU_PCI_CONF1_FIFO_16 | BIU_BURST_ENABLE */ 0