summaryrefslogtreecommitdiffstats
path: root/sys/dev/ar
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-03-30 13:28:23 +0000
committerphk <phk@FreeBSD.org>1999-03-30 13:28:23 +0000
commit4b075acb2951e25a5a0c5fedd65c6ad62e92ede9 (patch)
tree71eb059b76cedd9c225b862f92e75b5e834aa9cb /sys/dev/ar
parent0ccb1feb7bb2b9e8aa8932bbb4ca6ac09c7812d1 (diff)
downloadFreeBSD-src-4b075acb2951e25a5a0c5fedd65c6ad62e92ede9.zip
FreeBSD-src-4b075acb2951e25a5a0c5fedd65c6ad62e92ede9.tar.gz
Organize the various modes (CISCO/AUTO/DEMAND/LEASED) a little bit better,
centralize the code. Remember to call TLF/TLS on the hardware in CISCO mode.
Diffstat (limited to 'sys/dev/ar')
-rw-r--r--sys/dev/ar/if_ar.c9
-rw-r--r--sys/dev/ar/if_ar_isa.c9
2 files changed, 2 insertions, 16 deletions
diff --git a/sys/dev/ar/if_ar.c b/sys/dev/ar/if_ar.c
index a3fa4a2..043ad4c 100644
--- a/sys/dev/ar/if_ar.c
+++ b/sys/dev/ar/if_ar.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_ar.c,v 1.23 1998/10/22 05:58:38 bde Exp $
+ * $Id: if_ar.c,v 1.24 1998/12/16 18:42:38 phk Exp $
*/
/*
@@ -600,13 +600,6 @@ arioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
TRC(printf("ar%d: arioctl.\n", ifp->if_unit);)
- if(cmd == SIOCSIFFLAGS) {
- if(ifp->if_flags & IFF_LINK2)
- sp->pp_flags |= PP_CISCO;
- else
- sp->pp_flags &= ~PP_CISCO;
- }
-
was_up = ifp->if_flags & IFF_RUNNING;
error = sppp_ioctl(ifp, cmd, data);
diff --git a/sys/dev/ar/if_ar_isa.c b/sys/dev/ar/if_ar_isa.c
index a3fa4a2..043ad4c 100644
--- a/sys/dev/ar/if_ar_isa.c
+++ b/sys/dev/ar/if_ar_isa.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_ar.c,v 1.23 1998/10/22 05:58:38 bde Exp $
+ * $Id: if_ar.c,v 1.24 1998/12/16 18:42:38 phk Exp $
*/
/*
@@ -600,13 +600,6 @@ arioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
TRC(printf("ar%d: arioctl.\n", ifp->if_unit);)
- if(cmd == SIOCSIFFLAGS) {
- if(ifp->if_flags & IFF_LINK2)
- sp->pp_flags |= PP_CISCO;
- else
- sp->pp_flags &= ~PP_CISCO;
- }
-
was_up = ifp->if_flags & IFF_RUNNING;
error = sppp_ioctl(ifp, cmd, data);
OpenPOWER on IntegriCloud