diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2017-04-02 15:25:06 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2017-04-02 15:25:06 +0000 |
commit | d2b1f57f3460a4adc0a5bf735438cf5f98630c5f (patch) | |
tree | c97b42dcaa8a229447b6ea5d1aebcd38d5ddf971 | |
parent | fdff62b01c09de6a108de33e82869e30025bb311 (diff) |
Drop address conversion cruft.
-rw-r--r-- | sys/arch/octeon/dev/if_cnmac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/octeon/dev/if_cnmac.c b/sys/arch/octeon/dev/if_cnmac.c index 67011eaf41d..040af8c7be2 100644 --- a/sys/arch/octeon/dev/if_cnmac.c +++ b/sys/arch/octeon/dev/if_cnmac.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_cnmac.c,v 1.62 2017/01/24 03:57:34 dlg Exp $ */ +/* $OpenBSD: if_cnmac.c,v 1.63 2017/04/02 15:25:05 visa Exp $ */ /* * Copyright (c) 2007 Internet Initiative Japan, Inc. @@ -626,7 +626,7 @@ octeon_eth_buf_free_work(struct octeon_eth_softc *sc, uint64_t *work) PIP_WQE_WORD2_IP_BUFS_SHIFT; word3 = work[3]; while (nbufs-- > 0) { - addr = word3 & PIP_WQE_WORD3_ADDR, CCA_CACHED; + addr = word3 & PIP_WQE_WORD3_ADDR; back = (word3 & PIP_WQE_WORD3_BACK) >> PIP_WQE_WORD3_BACK_SHIFT; pktbuf = (addr & ~(CACHE_LINE_SIZE - 1)) - |