aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2003-03-30 05:26:01 +0000
committerJake Burkholder <jake@FreeBSD.org>2003-03-30 05:26:01 +0000
commita271c2ed7ffcd7a261c7aeca1b47a37f81b51a22 (patch)
treed680abc9c01d88b8f7b7e6a9cbd447a3e9000b62 /sys/dev
parent7ab9b220d934cea20d147fbaabf4a241a0aa5b0a (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/aic7xxx/aic7xxx_osm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/aic7xxx/aic7xxx_osm.c b/sys/dev/aic7xxx/aic7xxx_osm.c
index 6190d66771a3d..91af8ddbede8e 100644
--- a/sys/dev/aic7xxx/aic7xxx_osm.c
+++ b/sys/dev/aic7xxx/aic7xxx_osm.c
@@ -1386,7 +1386,8 @@ ahc_setup_data(struct ahc_softc *ahc, struct cam_sim *sim,
panic("ahc_setup_data - Transfer size "
"larger than can device max");
- seg.ds_addr = (bus_addr_t)csio->data_ptr;
+ seg.ds_addr =
+ (bus_addr_t)(vm_offset_t)csio->data_ptr;
seg.ds_len = csio->dxfer_len;
ahc_execute_scb(scb, &seg, 1, 0);
}