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/dp8390.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/dp8390.c')
-rw-r--r-- | sys/dev/ic/dp8390.c | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/sys/dev/ic/dp8390.c b/sys/dev/ic/dp8390.c index 46b43b40393..4c13874cc71 100644 --- a/sys/dev/ic/dp8390.c +++ b/sys/dev/ic/dp8390.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dp8390.c,v 1.27 2005/01/15 05:24:11 brad Exp $ */ +/* $OpenBSD: dp8390.c,v 1.28 2005/06/08 17:02:59 henning Exp $ */ /* $NetBSD: dp8390.c,v 1.13 1998/07/05 06:49:11 jonathan Exp $ */ /* @@ -38,11 +38,6 @@ #include <netinet/if_ether.h> #endif -#ifdef NS -#include <netns/ns.h> -#include <netns/ns_if.h> -#endif - #if NBPFILTER > 0 #include <net/bpf.h> #endif @@ -825,23 +820,6 @@ dp8390_ioctl(ifp, cmd, data) arp_ifinit(&sc->sc_arpcom, ifa); break; #endif -#ifdef NS - /* XXX - This code is probably wrong. */ - 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. */ - dp8390_init(sc); - break; - } -#endif default: dp8390_init(sc); break; |