diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-11-26 16:46:18 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-11-26 16:46:18 +0000 |
commit | a4ca2d73073c14be5e108d397233cd68e341d75a (patch) | |
tree | 1e903af4adf9bfcb2d1f510d0ece0d1edde8ea44 | |
parent | 620fb93fc2e3dd44434ddb15020003a5788004ee (diff) |
vm_offset_t -> vaddr_t
-rw-r--r-- | sys/dev/ccd.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/if_ax.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ccd.c b/sys/dev/ccd.c index a3e8dcf1fcc..f978f516e59 100644 --- a/sys/dev/ccd.c +++ b/sys/dev/ccd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ccd.c,v 1.40 1999/09/11 00:13:45 mickey Exp $ */ +/* $OpenBSD: ccd.c,v 1.41 1999/11/26 16:46:17 art Exp $ */ /* $NetBSD: ccd.c,v 1.33 1996/05/05 04:21:14 thorpej Exp $ */ /*- @@ -1094,7 +1094,7 @@ ccdiodone(vbp) #if defined(UVM) uvm_km_free(ccdmap, (vaddr_t)vbp->b_data, count); #else - kmem_free(ccdmap, (vm_offset_t)vbp->b_data, count); + kmem_free(ccdmap, (vaddr_t)vbp->b_data, count); #endif if (ccd_need_kvm) { ccd_need_kvm = 0; diff --git a/sys/dev/pci/if_ax.c b/sys/dev/pci/if_ax.c index a6dad538369..f6d0fed27a7 100644 --- a/sys/dev/pci/if_ax.c +++ b/sys/dev/pci/if_ax.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ax.c,v 1.6 1999/11/16 09:45:20 art Exp $ */ +/* $OpenBSD: if_ax.c,v 1.7 1999/11/26 16:45:27 art Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -1630,7 +1630,7 @@ int ax_encap(sc, c, m_head) } else f->ax_status = AX_TXSTAT_OWN; f->ax_next = vtophys(&c->ax_ptr->ax_frag[frag + 1]); - f->ax_data = vtophys(mtod(m, vm_offset_t)); + f->ax_data = vtophys(mtod(m, vaddr_t)); frag++; } } |