diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2006-04-16 18:14:24 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2006-04-16 18:14:24 +0000 |
commit | 96f7b2d8847b1e6bb4976beeed345c84a7596d99 (patch) | |
tree | 05636e54cbd410635e5b07914ecf86b1b4007384 /sys/dev/ic | |
parent | c5d267a4e9c39a901f7ad77406d02f504df948ec (diff) |
Make memory access use macro.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/mfi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/mfi.c b/sys/dev/ic/mfi.c index 8b916bdd255..6b32f901eb6 100644 --- a/sys/dev/ic/mfi.c +++ b/sys/dev/ic/mfi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfi.c,v 1.12 2006/04/16 17:15:36 marco Exp $ */ +/* $OpenBSD: mfi.c,v 1.13 2006/04/16 18:14:23 marco Exp $ */ /* * Copyright (c) 2006 Marco Peereboom <marco@peereboom.us> * @@ -296,7 +296,7 @@ mfi_intr(void *arg) /* write status back to acknowledge interrupt */ mfi_write(sc, MFI_OSTS, status); - pcq = (struct mfi_prod_cons *)sc->sc_pcq->am_kva; + pcq = MFIMEM_KVA(sc->sc_pcq); producer = pcq->mpc_producer; consumer = pcq->mpc_consumer; |