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/smc91cxx.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/smc91cxx.c')
-rw-r--r-- | sys/dev/ic/smc91cxx.c | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/sys/dev/ic/smc91cxx.c b/sys/dev/ic/smc91cxx.c index cb0b870a4d6..ac991e35036 100644 --- a/sys/dev/ic/smc91cxx.c +++ b/sys/dev/ic/smc91cxx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smc91cxx.c,v 1.20 2005/06/07 02:29:30 henning Exp $ */ +/* $OpenBSD: smc91cxx.c,v 1.21 2005/06/08 17:03:00 henning Exp $ */ /* $NetBSD: smc91cxx.c,v 1.11 1998/08/08 23:51:41 mycroft Exp $ */ /*- @@ -108,11 +108,6 @@ #include <netinet/ip.h> #endif -#ifdef NS -#include <netns/ns.h> -#include <netns/ns_if.h> -#endif - #if NBPFILTER > 0 #include <net/bpf.h> #endif @@ -968,28 +963,6 @@ smc91cxx_ioctl(ifp, cmd, data) 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 { - bcopy(ina->x_host.c_host, LLADDR(ifp->if_sadl), - ETHER_ADDR_LEN); - } - - /* - * Set new address. Reset, because the receiver - * has to be stopped before we can set the new - * MAC address. - */ - smc91cxx_reset(sc); - break; - } -#endif default: smc91cxx_init(sc); break; |