summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2003-03-30 05:26:01 +0000
committerjake <jake@FreeBSD.org>2003-03-30 05:26:01 +0000
commit080f32d20eb6f4b93cbf210312167b372302fd37 (patch)
treed680abc9c01d88b8f7b7e6a9cbd447a3e9000b62 /sys
parentabd082c83338e1987726a6ef68574de92e2b5ce7 (diff)
downloadFreeBSD-src-080f32d20eb6f4b93cbf210312167b372302fd37.zip
FreeBSD-src-080f32d20eb6f4b93cbf210312167b372302fd37.tar.gz
- Temporary fix so this compiles with 64 bit bus_addr_t.
Sponsored by: DARPA, Network Associates Laboratories Approved by: scottl
Diffstat (limited to 'sys')
-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 6190d66..91af8dd 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);
}
OpenPOWER on IntegriCloud