summaryrefslogtreecommitdiffstats
path: root/sys/dev/uart/uart_dev_z8530.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2006-02-24 05:40:17 +0000
committermarcel <marcel@FreeBSD.org>2006-02-24 05:40:17 +0000
commit59ae2faccd91f17ab74d868429b95e97a60e7acc (patch)
tree1a5d674c76a9410a6917b62d08fd0cbedc3c5157 /sys/dev/uart/uart_dev_z8530.c
parent72c66eec8feb4ebace76e9e6e0cfc0c66b0e1425 (diff)
downloadFreeBSD-src-59ae2faccd91f17ab74d868429b95e97a60e7acc.zip
FreeBSD-src-59ae2faccd91f17ab74d868429b95e97a60e7acc.tar.gz
Replace our local UART_SIGMASK_* with the global SER_MASK_*.
Diffstat (limited to 'sys/dev/uart/uart_dev_z8530.c')
-rw-r--r--sys/dev/uart/uart_dev_z8530.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/uart/uart_dev_z8530.c b/sys/dev/uart/uart_dev_z8530.c
index 0276710..8cdefcd 100644
--- a/sys/dev/uart/uart_dev_z8530.c
+++ b/sys/dev/uart/uart_dev_z8530.c
@@ -354,7 +354,7 @@ z8530_bus_getsig(struct uart_softc *sc)
SIGCHG(bes & BES_CTS, sig, SER_CTS, SER_DCTS);
SIGCHG(bes & BES_DCD, sig, SER_DCD, SER_DDCD);
SIGCHG(bes & BES_SYNC, sig, SER_DSR, SER_DDSR);
- new = sig & ~UART_SIGMASK_DELTA;
+ new = sig & ~SER_MASK_DELTA;
} while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
return (sig);
}
@@ -439,7 +439,7 @@ z8530_bus_ipend(struct uart_softc *sc)
SIGCHG(bes & BES_CTS, sig, SER_CTS, SER_DCTS);
SIGCHG(bes & BES_DCD, sig, SER_DCD, SER_DDCD);
SIGCHG(bes & BES_SYNC, sig, SER_DSR, SER_DDSR);
- if (sig & UART_SIGMASK_DELTA)
+ if (sig & SER_MASK_DELTA)
ipend |= SER_INT_SIGCHG;
src = uart_getmreg(bas, RR_SRC);
if (src & SRC_OVR) {
OpenPOWER on IntegriCloud