diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-06-01 00:53:16 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-06-01 00:53:16 +0000 |
commit | c1a43eaba95ace28c0e6762b8dc9d6e18cdd8a3e (patch) | |
tree | d2d2dd6fc88b8c20f6827430059b584e8d7992a5 | |
parent | dfc2a329bc2b4b546ed9b3cdd751f0a4ba3f940c (diff) |
64 bit dva addresses so we can >> 32 later; ok dlg
-rw-r--r-- | sys/dev/ic/mpi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c index 3923e9c797b..a9ffafa9e2e 100644 --- a/sys/dev/ic/mpi.c +++ b/sys/dev/ic/mpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpi.c,v 1.21 2006/05/31 21:28:08 dlg Exp $ */ +/* $OpenBSD: mpi.c,v 1.22 2006/06/01 00:53:15 deraadt Exp $ */ /* * Copyright (c) 2005, 2006 David Gwynne <dlg@openbsd.org> @@ -816,7 +816,7 @@ mpi_load_xs(struct mpi_ccb *ccb) struct mpi_msg_scsi_io *io = &mcb->mcb_io; struct mpi_sge *sge, *nsge = &mcb->mcb_sgl[0]; struct mpi_sge *ce = NULL, *nce; - paddr_t ce_dva; + u_int64_t ce_dva; bus_dmamap_t dmap = ccb->ccb_dmamap; u_int32_t addr, flags; int i, error; @@ -1628,7 +1628,7 @@ mpi_cfg_page(struct mpi_softc *sc, u_int32_t address, struct mpi_cfg_hdr *hdr, struct mpi_ccb *ccb; struct mpi_msg_config_request *cq; struct mpi_msg_config_reply *cp; - paddr_t dva; + u_int64_t dva; char *kva; int s; |