From 450458da5c54b346d37bd11af2c123619d1b5251 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Wed, 8 Jun 2005 17:03:04 +0000 Subject: remove netns crud. some drivers actually had hooks for SIOCSIFADDR, most just useless includes "looks good" deraadt miod brad --- sys/dev/ic/gem.c | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'sys/dev/ic/gem.c') diff --git a/sys/dev/ic/gem.c b/sys/dev/ic/gem.c index 28dc070f19a..5cfc9ff1806 100644 --- a/sys/dev/ic/gem.c +++ b/sys/dev/ic/gem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gem.c,v 1.40 2005/01/15 05:24:11 brad Exp $ */ +/* $OpenBSD: gem.c,v 1.41 2005/06/08 17:02:59 henning Exp $ */ /* $NetBSD: gem.c,v 1.1 2001/09/16 00:11:43 eeh Exp $ */ /* @@ -1368,23 +1368,6 @@ gem_ioctl(ifp, cmd, data) gem_init(ifp); arp_ifinit(&sc->sc_arpcom, ifa); break; -#endif -#ifdef NS - case AF_NS: - { - struct ns_addr *ina = &IA_SNS(ifa)->sns_addr; - - if (ns_nullhost(*ina)) - ina->x_host = - *(union ns_host *)LLADDR(ifp->if_sadl); - else { - memcpy(LLADDR(ifp->if_sadl), - ina->x_host.c_host, sizeof(sc->sc_enaddr)); - } - /* Set new address. */ - gem_init(ifp); - break; - } #endif default: gem_init(ifp); -- cgit v1.2.3