Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Nov 2011 18:39:39 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r227088 - head/sys/dev/ti
Message-ID:  <201111041839.pA4IddCg029892@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yongari
Date: Fri Nov  4 18:39:39 2011
New Revision: 227088
URL: http://svn.freebsd.org/changeset/base/227088

Log:
  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.

Modified:
  head/sys/dev/ti/if_ti.c

Modified: head/sys/dev/ti/if_ti.c
==============================================================================
--- head/sys/dev/ti/if_ti.c	Fri Nov  4 18:28:10 2011	(r227087)
+++ head/sys/dev/ti/if_ti.c	Fri Nov  4 18:39:39 2011	(r227088)
@@ -1328,7 +1328,7 @@ ti_newbuf_jumbo(struct ti_softc *sc, int
 		/* 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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111041839.pA4IddCg029892>