diff options
author | 2007-06-06 09:44:30 +0000 | |
---|---|---|
committer | 2007-06-06 09:44:30 +0000 | |
commit | b4f865c972460e7c27ed580d278179434c629c36 (patch) | |
tree | 6eeb82244fba930622ad7d223dda2a71bd27013a /sys/dev/isa/if_ex.c | |
parent | do not include ipx headers (were not needed in the first place) (diff) | |
download | wireguard-openbsd-b4f865c972460e7c27ed580d278179434c629c36.tar.xz wireguard-openbsd-b4f865c972460e7c27ed580d278179434c629c36.zip |
remove never used #ifdef IPX_NOTYET code
Diffstat (limited to 'sys/dev/isa/if_ex.c')
-rw-r--r-- | sys/dev/isa/if_ex.c | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/sys/dev/isa/if_ex.c b/sys/dev/isa/if_ex.c index 15fa160c3b8..dc2c68ca53d 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.15 2006/03/25 22:41:44 djm Exp $ */ +/* $OpenBSD: if_ex.c,v 1.16 2007/06/06 09:44:30 henning Exp $ */ /* * Copyright (c) 1997, Donald A. Schmidt * Copyright (c) 1996, Javier Martín Rueda (jmrueda@diatel.upm.es) @@ -54,11 +54,6 @@ #include <netinet/if_ether.h> #endif -#ifdef IPX -#include <netipx/ipx.h> -#include <netipx/ipx_if.h> -#endif - #if NBPFILTER > 0 #include <net/bpf.h> #endif @@ -800,28 +795,6 @@ ex_ioctl(ifp, cmd, data) arp_ifinit((struct arpcom *) ifp, ifa); break; #endif -#ifdef IPX_NOTYET - case AF_IPX: - { - register struct ipx_addr *ina = - &(IA_SIPX(ifa)->sipx_addr); - - if (ipx_nullhost(*ina)) - ina->x_host = *(union ipx_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; |