diff options
author | phk <phk@FreeBSD.org> | 1998-12-16 18:42:38 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1998-12-16 18:42:38 +0000 |
commit | 4674dad527e098e67d75cc31e7d53776b25cc495 (patch) | |
tree | 107318c0be34d58d31886d9714d346ab46b94cea /sys/i386/isa/if_cx.c | |
parent | 28d6420f45416c97f037bc61378036eaa76779f7 (diff) | |
download | FreeBSD-src-4674dad527e098e67d75cc31e7d53776b25cc495.zip FreeBSD-src-4674dad527e098e67d75cc31e7d53776b25cc495.tar.gz |
Straigthen out the use of the tls and tlf callbacks.
Not tested on the if_sr, if_cx and if_ar drivers, but
expected to work just the same as it used to.
Any users of these drivers (or even better: donors
of hardware for them) please contact phk@freebsd.org
so we can test the next batch of changes to if_sppp.
Diffstat (limited to 'sys/i386/isa/if_cx.c')
-rw-r--r-- | sys/i386/isa/if_cx.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/i386/isa/if_cx.c b/sys/i386/isa/if_cx.c index 26ff1bc..d8e5999 100644 --- a/sys/i386/isa/if_cx.c +++ b/sys/i386/isa/if_cx.c @@ -284,13 +284,7 @@ cxattach (struct isa_device *id) /* Init routine is never called by upper level? */ sppp_attach (c->ifp); if_attach (c->ifp); - /* - * Shortcut the sppp tls/tlf actions to up/down - * events since our lower layer is always ready. - */ sp = (struct sppp*) c->ifp; - sp->pp_tls = sp->pp_up; - sp->pp_tlf = sp->pp_down; #if NBPFILTER > 0 /* If BPF is in the kernel, call the attach for it. */ bpfattach (c->ifp, DLT_PPP, PPP_HEADER_LEN); |