diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-04-21 19:25:00 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-04-21 19:25:00 +0000 |
commit | 97664a86886c68066f439f97a3bafbdd7f54d659 (patch) | |
tree | 5d83d17f1d385f3fd251936f6620a5eb2e8eaa75 /sys/dev | |
parent | 6d53e1df24d23270abb51da2484d678242ea5480 (diff) |
backout: compile before you commit, please
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_vic.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/pci/if_vic.c b/sys/dev/pci/if_vic.c index dd8d58e4098..164162456d2 100644 --- a/sys/dev/pci/if_vic.c +++ b/sys/dev/pci/if_vic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vic.c,v 1.43 2007/04/21 12:52:46 dlg Exp $ */ +/* $OpenBSD: if_vic.c,v 1.44 2007/04/21 19:24:59 deraadt Exp $ */ /* * Copyright (c) 2006 Reyk Floeter <reyk@openbsd.org> @@ -771,13 +771,9 @@ vic_rx_proc(struct vic_softc *sc) printf("%s: mbuf alloc failed\n", DEVNAME(sc)); break; } - bus_dmamap_sync(sc->sc_dmat, rxb->rxb_dmamap, 0, - rxb->rxb_m->m_pkthdr.len, BUS_DMAMAP_PREREAD); - rxd->rx_physaddr = rxb->rxb_dmamap->dm_segs[0].ds_addr; rxd->rx_buflength = rxb->rxb_m->m_pkthdr.len; rxd->rx_length = 0; - rxd->rx_owner = VIC_OWNER_DRIVER; ifp->if_ipackets++; |