diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2005-06-07 02:29:31 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2005-06-07 02:29:31 +0000 |
commit | d611c626dcfedc32389bf4cef66844f3bbe7f411 (patch) | |
tree | 1efb403cf0c67e581b8516f82d3913eb7a47b427 /sys/dev/ic/smc91cxx.c | |
parent | 525b8b85bcee548192ba13483c300604e68c6fbd (diff) |
CCITT about to bite the dust, remove special casing in archs and drivers
Diffstat (limited to 'sys/dev/ic/smc91cxx.c')
-rw-r--r-- | sys/dev/ic/smc91cxx.c | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/sys/dev/ic/smc91cxx.c b/sys/dev/ic/smc91cxx.c index afc1ec6a141..cb0b870a4d6 100644 --- a/sys/dev/ic/smc91cxx.c +++ b/sys/dev/ic/smc91cxx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smc91cxx.c,v 1.19 2005/01/15 05:24:11 brad Exp $ */ +/* $OpenBSD: smc91cxx.c,v 1.20 2005/06/07 02:29:30 henning Exp $ */ /* $NetBSD: smc91cxx.c,v 1.11 1998/08/08 23:51:41 mycroft Exp $ */ /*- @@ -113,14 +113,6 @@ #include <netns/ns_if.h> #endif -#if defined(CCITT) && defined(LLC) -#include <sys/socketvar.h> -#include <netccitt/x25.h> -#include <netccitt/pk.h> -#include <netccitt/pk_var.h> -#include <netccitt/pk_extern.h> -#endif - #if NBPFILTER > 0 #include <net/bpf.h> #endif @@ -1004,18 +996,6 @@ smc91cxx_ioctl(ifp, cmd, data) } break; -#if defined(CCITT) && defined(LLC) - case SIOCSIFCONF_X25: - if ((error = smc91cxx_enable(sc)) != 0) - break; - ifp->if_flags |= IFF_UP; - ifa->ifa_rtrequest = cons_rtrequest; /* XXX */ - error = x25_llcglue(PRC_IFUP, ifa->ifa_addr); - if (error == 0) - smc91cxx_init(sc); - break; -#endif - case SIOCSIFFLAGS: if ((ifp->if_flags & IFF_UP) == 0 && (ifp->if_flags & IFF_RUNNING) != 0) { |