summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/dev/isp_sbus.c4
-rw-r--r--sys/dev/sbus/isp_sbus.c5
2 files changed, 4 insertions, 5 deletions
diff --git a/sys/arch/sparc/dev/isp_sbus.c b/sys/arch/sparc/dev/isp_sbus.c
index 2d79b0f9de0..a77f1174df0 100644
--- a/sys/arch/sparc/dev/isp_sbus.c
+++ b/sys/arch/sparc/dev/isp_sbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isp_sbus.c,v 1.21 2002/04/30 01:12:29 art Exp $ */
+/* $OpenBSD: isp_sbus.c,v 1.22 2002/05/17 01:19:00 mjacob Exp $ */
/*
* SBus specific probe and attach routines for Qlogic ISP SCSI adapters.
*
@@ -81,7 +81,7 @@ static struct ispmdvec mdvec = {
NULL,
NULL,
NULL,
- ISP_1000_RISC_CODE,
+ (u_int16_t *) ISP_1000_RISC_CODE,
BIU_BURST_ENABLE|BIU_SBUS_CONF1_FIFO_32
};
diff --git a/sys/dev/sbus/isp_sbus.c b/sys/dev/sbus/isp_sbus.c
index ce764d58fde..4c30067df86 100644
--- a/sys/dev/sbus/isp_sbus.c
+++ b/sys/dev/sbus/isp_sbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isp_sbus.c,v 1.2 2001/12/14 02:51:12 mjacob Exp $ */
+/* $OpenBSD: isp_sbus.c,v 1.3 2002/05/17 01:19:49 mjacob Exp $ */
/* $NetBSD: isp_sbus.c,v 1.46 2001/09/26 20:53:14 eeh Exp $ */
/*
@@ -102,7 +102,7 @@ static struct ispmdvec mdvec = {
NULL,
NULL,
NULL,
- ISP_1000_RISC_CODE
+ (u_int16_t *) ISP_1000_RISC_CODE
};
struct isp_sbussoftc {
@@ -598,4 +598,3 @@ isp_sbus_dmateardown(struct ispsoftc *isp, XS_T *xs, u_int16_t handle)
BUS_DMASYNC_POSTREAD : BUS_DMASYNC_POSTWRITE);
bus_dmamap_unload(isp->isp_dmatag, dmap);
}
-/* %W% */