diff options
author | mjacob <mjacob@cvs.openbsd.org> | 2002-05-17 01:19:50 +0000 |
---|---|---|
committer | mjacob <mjacob@cvs.openbsd.org> | 2002-05-17 01:19:50 +0000 |
commit | b3b1b4a7f19e760b6bd80050fc31b1e03168e2a1 (patch) | |
tree | 31621ae5af9b32fa80e059c5dc876bc748b48f9e /sys | |
parent | bb70e9f17a9a6c1b27a23dc4d7efbbac98604a36 (diff) |
Handle the removal of 'const' from structure definition.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc/dev/isp_sbus.c | 4 | ||||
-rw-r--r-- | sys/dev/sbus/isp_sbus.c | 5 |
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% */ |