summaryrefslogtreecommitdiffstats
path: root/sys/dev/ti
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2011-11-04 18:39:39 +0000
committeryongari <yongari@FreeBSD.org>2011-11-04 18:39:39 +0000
commit37667766546c7e2af93349908fcb67c1df10a28a (patch)
tree4ebe8c5b6d526c5ea4f3c35bbd7df5fe9d532864 /sys/dev/ti
parente80395991734acf3da13f74344fda6bbc1986097 (diff)
downloadFreeBSD-src-37667766546c7e2af93349908fcb67c1df10a28a.zip
FreeBSD-src-37667766546c7e2af93349908fcb67c1df10a28a.tar.gz
Make ti(4) build with 'options TI_PRIVATE_JUMBOS'.
This was broken in r175872. We have a UMA backed jumbo allocator and that is much better implementation than having a local jumbo buffer allocator in driver. This local allocator would be removed in near future but fixing build before removal wouldn't be a bad idea.
Diffstat (limited to 'sys/dev/ti')
-rw-r--r--sys/dev/ti/if_ti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c
index b57be7b..462df12 100644
--- a/sys/dev/ti/if_ti.c
+++ b/sys/dev/ti/if_ti.c
@@ -1328,7 +1328,7 @@ ti_newbuf_jumbo(struct ti_softc *sc, int i, struct mbuf *m)
/* Attach the buffer to the mbuf. */
m_new->m_data = (void *) buf;
m_new->m_len = m_new->m_pkthdr.len = TI_JUMBO_FRAMELEN;
- MEXTADD(m_new, buf, TI_JUMBO_FRAMELEN, ti_jfree,
+ MEXTADD(m_new, buf, TI_JUMBO_FRAMELEN, ti_jfree, buf,
(struct ti_softc *)sc, 0, EXT_NET_DRV);
} else {
m_new = m;
OpenPOWER on IntegriCloud