Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Use ETHER_*_LEN constants from <net/if_ether.h> i...
details: https://anonhg.NetBSD.org/src/rev/f70f9aa83891
branches: trunk
changeset: 467564:f70f9aa83891
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu Mar 25 23:19:59 1999 +0000
description:
Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
ourselves. Fix a bug where packets wouldn't be padded to the correct
minimum length.
diffstat:
sys/dev/ic/smc83c170.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diffs (19 lines):
diff -r 3c294bcb0c5a -r f70f9aa83891 sys/dev/ic/smc83c170.c
--- a/sys/dev/ic/smc83c170.c Thu Mar 25 23:19:58 1999 +0000
+++ b/sys/dev/ic/smc83c170.c Thu Mar 25 23:19:59 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: smc83c170.c,v 1.14 1999/02/18 02:24:30 thorpej Exp $ */
+/* $NetBSD: smc83c170.c,v 1.15 1999/03/25 23:19:59 thorpej Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -105,9 +105,6 @@
int epic_mediachange __P((struct ifnet *));
void epic_mediastatus __P((struct ifnet *, struct ifmediareq *));
-/* XXX Should be somewhere else. */
-#define ETHER_MIN_LEN 60
-
#define INTMASK (INTSTAT_FATAL_INT | INTSTAT_TXU | \
INTSTAT_TXC | INTSTAT_RQE | INTSTAT_RCC)
Home |
Main Index |
Thread Index |
Old Index