summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_lge.c
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2003-10-06 06:43:13 +0000
committerDavid Krause <david@cvs.openbsd.org>2003-10-06 06:43:13 +0000
commit5e24f5211e785685a63c0a48880e8d23d9af6e12 (patch)
treebdaa25b3263d55c6c835ae20bf8b3d084ececb3a /sys/dev/pci/if_lge.c
parent13bbead14e1314fc7860567145a4843b646331ca (diff)
make lge(4) compile, from tedu@
ok jason@ nate@
Diffstat (limited to 'sys/dev/pci/if_lge.c')
-rw-r--r--sys/dev/pci/if_lge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_lge.c b/sys/dev/pci/if_lge.c
index ff35bc2abbb..3f872bb31c9 100644
--- a/sys/dev/pci/if_lge.c
+++ b/sys/dev/pci/if_lge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_lge.c,v 1.12 2003/08/06 21:08:07 millert Exp $ */
+/* $OpenBSD: if_lge.c,v 1.13 2003/10/06 06:43:12 david Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 1997, 1998, 1999, 2000, 2001
@@ -1245,7 +1245,7 @@ int lge_encap(sc, m_head, txidx)
tot_len += m->m_len;
f = &cur_tx->lge_frags[frag];
f->lge_fraglen = m->m_len;
- f->lge_fragptr_lo = vtophys(mtod(m, vm_offset_t));
+ f->lge_fragptr_lo = vtophys(mtod(m, vaddr_t));
f->lge_fragptr_hi = 0;
frag++;
}