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/isa/if_ex.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/isa/if_ex.c')
-rw-r--r-- | sys/dev/isa/if_ex.c | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/sys/dev/isa/if_ex.c b/sys/dev/isa/if_ex.c index 7b7ce403b16..ac69f10ac3f 100644 --- a/sys/dev/isa/if_ex.c +++ b/sys/dev/isa/if_ex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ex.c,v 1.12 2005/04/03 10:29:12 brad Exp $ */ +/* $OpenBSD: if_ex.c,v 1.13 2005/06/08 17:03:00 henning Exp $ */ /* * Copyright (c) 1997, Donald A. Schmidt * Copyright (c) 1996, Javier Martín Rueda (jmrueda@diatel.upm.es) @@ -59,11 +59,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 @@ -825,22 +820,6 @@ ex_ioctl(ifp, cmd, data) 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 *) (sc->arpcom.ac_enaddr); - else { - ifp->if_flags &= ~IFF_RUNNING; - bcopy((caddr_t) ina->x_host.c_host, (caddr_t) sc->arpcom.ac_enaddr, - sizeof(sc->arpcom.ac_enaddr)); - } - ex_init(sc); - break; - } -#endif default: ex_init(sc); break; |