aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ed
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1994-11-24 14:29:38 +0000
committerDavid Greenman <dg@FreeBSD.org>1994-11-24 14:29:38 +0000
commit307d80be7ac4f1a65b849edcc42b2705545fa2b5 (patch)
treef24c94cbed7412ca371d1f76bc07b9dfdcdbc432 /sys/dev/ed
parent63281ad7528de71c6be2775ba1dffe60fb9f2289 (diff)
Notes
Diffstat (limited to 'sys/dev/ed')
-rw-r--r--sys/dev/ed/if_ed.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c
index f67d134bcd49..b9b850325afb 100644
--- a/sys/dev/ed/if_ed.c
+++ b/sys/dev/ed/if_ed.c
@@ -13,7 +13,7 @@
* the SMC Elite Ultra (8216), the 3Com 3c503, the NE1000 and NE2000,
* and a variety of similar clones.
*
- * $Id: if_ed.c,v 1.55 1994/11/13 07:17:46 davidg Exp $
+ * $Id: if_ed.c,v 1.56 1994/11/17 14:42:27 davidg Exp $
*/
#include "ed.h"
@@ -2110,8 +2110,7 @@ ed_get_packet(sc, buf, len, multicast)
len -= sizeof(struct ether_header);
/*
- * Pull packet off interface. Or if this was a trailer packet, the
- * data portion is appended.
+ * Pull packet off interface.
*/
if (ed_ring_to_mbuf(sc, buf, m, len) == NULL) {
m_freem(m);
@@ -2146,11 +2145,6 @@ ed_get_packet(sc, buf, len, multicast)
*/
m_adj(m, sizeof(struct ether_header));
- /*
- * silly ether_input routine needs 'type' in host byte order
- */
- eh->ether_type = ntohs(eh->ether_type);
-
ether_input(&sc->arpcom.ac_if, eh, m);
return;
}