summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/dev/if_mc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mac68k/dev/if_mc.c')
-rw-r--r--sys/arch/mac68k/dev/if_mc.c25
1 files changed, 1 insertions, 24 deletions
diff --git a/sys/arch/mac68k/dev/if_mc.c b/sys/arch/mac68k/dev/if_mc.c
index ddf91a6ab6e..a7682087fe0 100644
--- a/sys/arch/mac68k/dev/if_mc.c
+++ b/sys/arch/mac68k/dev/if_mc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_mc.c,v 1.12 2005/06/07 02:29:30 henning Exp $ */
+/* $OpenBSD: if_mc.c,v 1.13 2005/06/08 17:03:02 henning Exp $ */
/* $NetBSD: if_mc.c,v 1.24 2004/10/30 18:08:34 thorpej Exp $ */
/*-
@@ -57,11 +57,6 @@
#include <netinet/ip.h>
#endif
-#ifdef NS
-#include <netns/ns.h>
-#include <netns/ns_if.h>
-#endif
-
#include <uvm/uvm_extern.h>
#include "bpfilter.h"
@@ -196,24 +191,6 @@ mcioctl(ifp, cmd, data)
arp_ifinit(&sc->sc_ethercom, ifa);
break;
#endif
-#ifdef NS
- case AF_NS:
- {
- register struct ns_addr *ina = &IA_SNS(ifa)->sns_addr;
-
- if (ns_nullhost(*ina))
- ina->x_host =
- *(union ns_host *)LLADDR(ifp->if_sadl);
- else {
- bcopy(ina->x_host.c_host,
- LLADDR(ifp->if_sadl),
- sizeof(sc->sc_enaddr));
- }
- /* Set new address. */
- mcinit(sc);
- break;
- }
-#endif
default:
mcinit(sc);
break;