diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-09-17 11:53:45 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-09-17 11:53:45 +0000 |
| commit | d75207f145f57e771dffef6ee64ffbb7819d7ac0 (patch) | |
| tree | 1303b097239d79f6743d715f25aa4b8f7e1c4d1d /sys/dev/usb/uplcom.c | |
| parent | e8d3e08098fe901a6c41709a1f15cd0d4e1726f6 (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/uplcom.c')
| -rw-r--r-- | sys/dev/usb/uplcom.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/usb/uplcom.c b/sys/dev/usb/uplcom.c index 8ae8a7d6e9f8e..e34714065f647 100644 --- a/sys/dev/usb/uplcom.c +++ b/sys/dev/usb/uplcom.c @@ -84,6 +84,7 @@ __FBSDID("$FreeBSD$"); #include <sys/ioccom.h> #include <sys/fcntl.h> #include <sys/conf.h> +#include <sys/serial.h> #include <sys/tty.h> #include <sys/file.h> #if __FreeBSD_version >= 500014 @@ -799,9 +800,9 @@ uplcom_intr(usbd_xfer_handle xfer, usbd_private_handle priv, usbd_status status) sc->sc_lsr = sc->sc_msr = 0; pstatus = buf[8]; if (ISSET(pstatus, RSAQ_STATUS_DSR)) - sc->sc_msr |= UMSR_DSR; + sc->sc_msr |= SER_DSR; if (ISSET(pstatus, RSAQ_STATUS_DCD)) - sc->sc_msr |= UMSR_DCD; + sc->sc_msr |= SER_DCD; ucom_status_change(&sc->sc_ucom); } |
