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_sk.c | |
parent | f346b901fdcef8e9a5fdbf98140399c458857b58 (diff) |
Get rid of the remaining vm_offset_t in pci drivers.
Diffstat (limited to 'sys/dev/pci/if_sk.c')
-rw-r--r-- | sys/dev/pci/if_sk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_sk.c b/sys/dev/pci/if_sk.c index 449bf29feb7..70016c37cd4 100644 --- a/sys/dev/pci/if_sk.c +++ b/sys/dev/pci/if_sk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sk.c,v 1.26 2002/11/26 06:01:28 nate Exp $ */ +/* $OpenBSD: if_sk.c,v 1.27 2003/01/15 06:31:24 art Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -1224,7 +1224,7 @@ int sk_encap(sc_if, m_head, txidx) (sc_if->sk_cdata.sk_tx_cnt + cnt)) < 2) return(ENOBUFS); f = &sc_if->sk_rdata->sk_tx_ring[frag]; - f->sk_data_lo = vtophys(mtod(m, vm_offset_t)); + f->sk_data_lo = vtophys(mtod(m, vaddr_t)); f->sk_ctl = m->m_len | SK_OPCODE_DEFAULT; if (cnt == 0) f->sk_ctl |= SK_TXCTL_FIRSTFRAG; |