diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2003-01-15 06:31:25 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2003-01-15 06:31:25 +0000 |
commit | ba4fecccdf873253a7b0825a0d169aa3f4dcf84d (patch) | |
tree | f2deae34fe691d332e8ff52a6743a239c0963635 /sys/dev/pci/if_bge.c | |
parent | f346b901fdcef8e9a5fdbf98140399c458857b58 (diff) |
Get rid of the remaining vm_offset_t in pci drivers.
Diffstat (limited to 'sys/dev/pci/if_bge.c')
-rw-r--r-- | sys/dev/pci/if_bge.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index 65809a09afa..5bf51d3bcc4 100644 --- a/sys/dev/pci/if_bge.c +++ b/sys/dev/pci/if_bge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bge.c,v 1.17 2002/11/26 06:01:28 nate Exp $ */ +/* $OpenBSD: if_bge.c,v 1.18 2003/01/15 06:31:24 art Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2001 @@ -639,8 +639,8 @@ bge_jfree(buf, size, arg) /* calculate the slot this buffer belongs to */ - i = ((vm_offset_t)buf - - (vm_offset_t)sc->bge_cdata.bge_jumbo_buf) / BGE_JLEN; + i = ((vaddr_t)buf + - (vaddr_t)sc->bge_cdata.bge_jumbo_buf) / BGE_JLEN; if ((i < 0) || (i >= BGE_JSLOTS)) panic("bge_jfree: asked to free buffer that we don't manage!"); @@ -1047,7 +1047,7 @@ bge_blockinit(sc) { struct bge_rcb *rcb; struct bge_rcb_opaque *rcbo; - vm_offset_t rcb_addr; + vaddr_t rcb_addr; int i; /* |