diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2005-06-08 17:03:04 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2005-06-08 17:03:04 +0000 |
commit | 450458da5c54b346d37bd11af2c123619d1b5251 (patch) | |
tree | 982a4b774f0670ece704a67504425c6287f8c1ce /sys/dev/ic/fxp.c | |
parent | 7a5793168be0f07f61e9204f04930140c0697c78 (diff) |
remove netns crud.
some drivers actually had hooks for SIOCSIFADDR, most just useless includes
"looks good" deraadt miod brad
Diffstat (limited to 'sys/dev/ic/fxp.c')
-rw-r--r-- | sys/dev/ic/fxp.c | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/sys/dev/ic/fxp.c b/sys/dev/ic/fxp.c index f7fd55c2dc0..455f58dd119 100644 --- a/sys/dev/ic/fxp.c +++ b/sys/dev/ic/fxp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fxp.c,v 1.71 2005/05/27 06:37:21 brad Exp $ */ +/* $OpenBSD: fxp.c,v 1.72 2005/06/08 17:02:59 henning Exp $ */ /* $NetBSD: if_fxp.c,v 1.2 1997/06/05 02:01:55 thorpej Exp $ */ /* @@ -66,11 +66,6 @@ #include <netipx/ipx_if.h> #endif -#ifdef NS -#include <netns/ns.h> -#include <netns/ns_if.h> -#endif - #if NBPFILTER > 0 #include <net/bpf.h> #endif @@ -1692,22 +1687,6 @@ fxp_ioctl(ifp, command, data) arp_ifinit(&sc->sc_arpcom, 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), - ifp->if_addrlen); - /* Set new address. */ - fxp_init(sc); - break; - } -#endif default: fxp_init(sc); break; |