summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/isp
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1997-03-13 04:07:44 +0000
committercgd <cgd@NetBSD.org>1997-03-13 04:07:44 +0000
commite36a5ca4de4f5bf89f093cede9102aadb2f6ad4f (patch)
tree58b3b13cd9714d79d51512c39266e57be7e17b8b /sys/dev/microcode/isp
parent204351f3a53776d6294cee3fce6416068afa99f9 (diff)
change microcode array definitions from "unsigned short" to the more
correct u_int16_t, and remove bogus casts that the old definition required.
Diffstat (limited to 'sys/dev/microcode/isp')
-rw-r--r--sys/dev/microcode/isp/asm_pci.h4
-rw-r--r--sys/dev/microcode/isp/asm_sbus.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/microcode/isp/asm_pci.h b/sys/dev/microcode/isp/asm_pci.h
index c94b680480b..845c169787e 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.3 1997/03/13 03:33:09 mycroft Exp $ */
+/* $NetBSD: asm_pci.h,v 1.4 1997/03/13 04:07:44 cgd Exp $ */
/*
* Copyright (c) 1997 by Matthew Jacob
@@ -11,7 +11,7 @@
*/
#define ISP_CODE_ORG 0x1000
-static const unsigned short ISP_RISC_CODE[] = {
+static const u_int16_t 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 ec0d571f05e..e8705fb8866 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.3 1997/03/13 03:33:11 mycroft Exp $ */
+/* $NetBSD: asm_sbus.h,v 1.4 1997/03/13 04:07:46 cgd Exp $ */
/*
* Copyright (c) 1997 by Matthew Jacob
@@ -11,7 +11,7 @@
*/
#define ISP_CODE_ORG 0x1000
-static const unsigned short ISP_RISC_CODE[] = {
+static const u_int16_t 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,