From d6117734585ef2519ee68c871d7fff96cf929939 Mon Sep 17 00:00:00 2001 From: cgd Date: Sat, 15 Mar 1997 21:06:09 +0000 Subject: [PATCH] fix botches in is's new ARP changes --- sys/dev/tc/if_fta.c | 8 +------- sys/dev/tc/if_le_ibus.c | 3 ++- sys/dev/tc/if_le_ioasic.c | 3 ++- sys/dev/tc/if_le_tc.c | 3 ++- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/sys/dev/tc/if_fta.c b/sys/dev/tc/if_fta.c index 9a04495d7fdd..75de7d5d0d73 100644 --- a/sys/dev/tc/if_fta.c +++ b/sys/dev/tc/if_fta.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_fta.c,v 1.9 1997/03/15 18:12:03 is Exp $ */ +/* $NetBSD: if_fta.c,v 1.10 1997/03/15 21:06:09 cgd Exp $ */ /*- * Copyright (c) 1996 Matt Thomas @@ -52,10 +52,7 @@ #ifdef INET #include -#if defined(__NetBSD__) #include -#else -#include #endif #include @@ -116,9 +113,6 @@ pdq_tc_attach( printf("%s: initialization failed\n", sc->sc_dev.dv_xname); return; } -#if !defined(__NetBSD__) - bcopy((caddr_t) sc->sc_pdq->pdq_hwaddr.lanaddr_bytes, sc->sc_ac.ac_enaddr, 6); -#endif pdq_ifattach(sc, NULL); diff --git a/sys/dev/tc/if_le_ibus.c b/sys/dev/tc/if_le_ibus.c index 5c9c943a5467..ed076eeb77e9 100644 --- a/sys/dev/tc/if_le_ibus.c +++ b/sys/dev/tc/if_le_ibus.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_le_ibus.c,v 1.4 1997/03/15 18:12:05 is Exp $ */ +/* $NetBSD: if_le_ibus.c,v 1.5 1997/03/15 21:06:11 cgd Exp $ */ /* * Copyright 1996 The Board of Trustees of The Leland Stanford @@ -27,6 +27,7 @@ #include #include +#include #ifdef INET #include diff --git a/sys/dev/tc/if_le_ioasic.c b/sys/dev/tc/if_le_ioasic.c index 9ee8a5ac74ff..4300e8235b68 100644 --- a/sys/dev/tc/if_le_ioasic.c +++ b/sys/dev/tc/if_le_ioasic.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_le_ioasic.c,v 1.4 1997/03/15 18:12:05 is Exp $ */ +/* $NetBSD: if_le_ioasic.c,v 1.5 1997/03/15 21:06:12 cgd Exp $ */ /* * Copyright (c) 1996 Carnegie-Mellon University. @@ -39,6 +39,7 @@ #include #include +#include #ifdef INET #include diff --git a/sys/dev/tc/if_le_tc.c b/sys/dev/tc/if_le_tc.c index 088aab51943b..44f26165f171 100644 --- a/sys/dev/tc/if_le_tc.c +++ b/sys/dev/tc/if_le_tc.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_le_tc.c,v 1.4 1997/03/15 18:12:06 is Exp $ */ +/* $NetBSD: if_le_tc.c,v 1.5 1997/03/15 21:06:13 cgd Exp $ */ /* * Copyright (c) 1996 Carnegie-Mellon University. @@ -39,6 +39,7 @@ #include #include +#include #ifdef INET #include