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_sf.c | |
parent | f346b901fdcef8e9a5fdbf98140399c458857b58 (diff) |
Get rid of the remaining vm_offset_t in pci drivers.
Diffstat (limited to 'sys/dev/pci/if_sf.c')
-rw-r--r-- | sys/dev/pci/if_sf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_sf.c b/sys/dev/pci/if_sf.c index 45a2dd2e275..5649c231277 100644 --- a/sys/dev/pci/if_sf.c +++ b/sys/dev/pci/if_sf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sf.c,v 1.18 2002/11/19 18:40:17 jason Exp $ */ +/* $OpenBSD: if_sf.c,v 1.19 2003/01/15 06:31:24 art Exp $ */ /* * Copyright (c) 1997, 1998, 1999 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. @@ -1162,7 +1162,7 @@ int sf_encap(sc, c, m_head) if (frag == 0) f->sf_pktlen = m_head->m_pkthdr.len; f->sf_fraglen = m->m_len; - f->sf_addr = vtophys(mtod(m, vm_offset_t)); + f->sf_addr = vtophys(mtod(m, vaddr_t)); frag++; } } |