From 4df5ccb1f65d662b0e47c1b8fbe8a3847ca9e0b5 Mon Sep 17 00:00:00 2001 From: bad Date: Sat, 29 May 1999 22:44:11 +0000 Subject: [PATCH] Now that the ARP code doesn't assume that m_pktdat[0] is the start of the packet(!) we can enable the code that aligns the struct token_header at the start of the mbuf. --- sys/dev/ic/tropic.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sys/dev/ic/tropic.c b/sys/dev/ic/tropic.c index 462505e74acb..bc9419296f79 100644 --- a/sys/dev/ic/tropic.c +++ b/sys/dev/ic/tropic.c @@ -1,4 +1,4 @@ -/* $NetBSD: tropic.c,v 1.4 1999/05/18 23:52:56 thorpej Exp $ */ +/* $NetBSD: tropic.c,v 1.5 1999/05/29 22:44:11 bad Exp $ */ /* * Ported to NetBSD by Onno van der Linden @@ -1474,11 +1474,6 @@ struct ifnet *ifp; len = MCLBYTES; } -#if 0 - /* - * XXX this is what the ethernet drivers do, - * but enabling it produces "xmit return code = 0x44"! - */ /* * Make sure data after the MAC header is aligned. */ @@ -1489,7 +1484,6 @@ struct ifnet *ifp; len -= newdata - m->m_data; m->m_data = newdata; } -#endif m->m_len = len = min(totlen, len); tr_bcopy(sc, mtod(m, char *), len); totlen -= len;