change microcode array definitions from "unsigned short" to the more

correct u_int16_t, and remove bogus casts that the old definition
required.
This commit is contained in:
cgd 1997-03-13 04:07:44 +00:00
parent 204351f3a5
commit e36a5ca4de
4 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: isp_sbus.c,v 1.3 1997/03/13 03:33:03 mycroft Exp $ */
/* $NetBSD: isp_sbus.c,v 1.4 1997/03/13 04:07:48 cgd Exp $ */
/*
* SBus specific probe and attach routines for Qlogic ISP SCSI adapters.
@ -71,7 +71,7 @@ static struct ispmdvec mdvec = {
isp_sbus_dmateardown,
NULL,
NULL,
(const u_int16_t *) ISP_RISC_CODE,
ISP_RISC_CODE,
ISP_CODE_LENGTH,
ISP_CODE_ORG,
0

View File

@ -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,

View File

@ -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,

View File

@ -1,4 +1,4 @@
/* $NetBSD: isp_pci.c,v 1.4 1997/03/13 03:33:07 mycroft Exp $ */
/* $NetBSD: isp_pci.c,v 1.5 1997/03/13 04:07:47 cgd 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,
(const u_int16_t *) ISP_RISC_CODE,
ISP_RISC_CODE,
ISP_CODE_LENGTH,
ISP_CODE_ORG,
/* BIU_PCI_CONF1_FIFO_16 | BIU_BURST_ENABLE */ 0