diff options
author | Hartmut Brandt <harti@FreeBSD.org> | 2003-07-29 13:21:57 +0000 |
---|---|---|
committer | Hartmut Brandt <harti@FreeBSD.org> | 2003-07-29 13:21:57 +0000 |
commit | fd9f148922f4942d321612275117fc8188b53e77 (patch) | |
tree | 52352711783503e36e6f699f835ce97e272edb25 /sys/dev/patm/if_patm_tx.c | |
parent | 59db9a86dbe46970959be5568b66873a199f82c7 (diff) | |
download | src-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.c | 3 |
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; } } |