From ee715c5ff4fb0bf55efce1908fea6809a1156a10 Mon Sep 17 00:00:00 2001 From: Pyun YongHyeon Date: Fri, 4 Nov 2011 18:39:39 +0000 Subject: [PATCH] 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. --- sys/dev/ti/if_ti.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index b57be7b46151..462df12c0832 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;