aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/patm/if_patm_tx.c
diff options
context:
space:
mode:
authorHartmut Brandt <harti@FreeBSD.org>2003-07-29 13:21:57 +0000
committerHartmut Brandt <harti@FreeBSD.org>2003-07-29 13:21:57 +0000
commitfd9f148922f4942d321612275117fc8188b53e77 (patch)
tree52352711783503e36e6f699f835ce97e272edb25 /sys/dev/patm/if_patm_tx.c
parent59db9a86dbe46970959be5568b66873a199f82c7 (diff)
downloadsrc-fd9f148922f4942d321612275117fc8188b53e77.tar.gz
src-fd9f148922f4942d321612275117fc8188b53e77.zip
Send events for VCC state changes, ACR rate changes and interface state
changes.
Notes
Notes: svn path=/head/; revision=118158
Diffstat (limited to 'sys/dev/patm/if_patm_tx.c')
-rw-r--r--sys/dev/patm/if_patm_tx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/patm/if_patm_tx.c b/sys/dev/patm/if_patm_tx.c
index 190ceb5f45c6..dad999e4fb25 100644
--- a/sys/dev/patm/if_patm_tx.c
+++ b/sys/dev/patm/if_patm_tx.c
@@ -744,8 +744,9 @@ patm_tx(struct patm_softc *sc, u_int stamp, u_int status)
((1 << (acri >> 10)) * (acri & 0x3ff));
if (cps != vcc->cps) {
- /* send message */
patm_debug(sc, VCC, "ACRI=%04x CPS=%u", acri, cps);
+ ATMEV_SEND_ACR_CHANGED(&sc->ifatm, vcc->vcc.vpi,
+ vcc->vcc.vci, cps);
vcc->cps = cps;
}
}