summaryrefslogtreecommitdiffstats
path: root/sys/dev/aic7xxx/aic79xx_osm.c
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2003-04-09 14:58:02 +0000
committerjake <jake@FreeBSD.org>2003-04-09 14:58:02 +0000
commit041ad7b6485a759e5ab38ac140a14179986d7a51 (patch)
treeade89cbe297b5390e47cdb142cd68ce543b6d5f2 /sys/dev/aic7xxx/aic79xx_osm.c
parent8523701a3e515117dbba55c729515c29fb063230 (diff)
downloadFreeBSD-src-041ad7b6485a759e5ab38ac140a14179986d7a51.zip
FreeBSD-src-041ad7b6485a759e5ab38ac140a14179986d7a51.tar.gz
Compile with PAE.
Diffstat (limited to 'sys/dev/aic7xxx/aic79xx_osm.c')
-rw-r--r--sys/dev/aic7xxx/aic79xx_osm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/aic7xxx/aic79xx_osm.c b/sys/dev/aic7xxx/aic79xx_osm.c
index 365375e..c2bb23b 100644
--- a/sys/dev/aic7xxx/aic79xx_osm.c
+++ b/sys/dev/aic7xxx/aic79xx_osm.c
@@ -1265,7 +1265,8 @@ ahd_setup_data(struct ahd_softc *ahd, struct cam_sim *sim,
panic("ahd_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;
ahd_execute_scb(scb, &seg, 1, 0);
}
OpenPOWER on IntegriCloud