summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-07-15 20:47:41 +0000
committerphk <phk@FreeBSD.org>2004-07-15 20:47:41 +0000
commitf00200d8a459bcf01e832c89518247e88ce28bf0 (patch)
treecb8932d8c884d3a6cc8f7e0616a4bdfa7fe0e5ee /sys/alpha
parent2f3742942cca7902c160ba9f75eae9a92e905e0f (diff)
downloadFreeBSD-src-f00200d8a459bcf01e832c89518247e88ce28bf0.zip
FreeBSD-src-f00200d8a459bcf01e832c89518247e88ce28bf0.tar.gz
Preparation commit for the tty cleanups that will follow in the near
future: rename ttyopen() -> tty_open() and ttyclose() -> tty_close(). We need the ttyopen() and ttyclose() for the new generic cdevsw functions for tty devices in order to have consistent naming.
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/alpha/promcons.c2
-rw-r--r--sys/alpha/tlsb/zs_tlsb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/alpha/alpha/promcons.c b/sys/alpha/alpha/promcons.c
index 6ced298..30db04d 100644
--- a/sys/alpha/alpha/promcons.c
+++ b/sys/alpha/alpha/promcons.c
@@ -149,7 +149,7 @@ promclose(dev, flag, mode, td)
untimeout(promtimeout, tp, promtimeouthandle);
ttyld_close(tp, flag);
- ttyclose(tp);
+ tty_close(tp);
return 0;
}
diff --git a/sys/alpha/tlsb/zs_tlsb.c b/sys/alpha/tlsb/zs_tlsb.c
index 90eadda..420d685 100644
--- a/sys/alpha/tlsb/zs_tlsb.c
+++ b/sys/alpha/tlsb/zs_tlsb.c
@@ -318,7 +318,7 @@ zsclose(struct cdev *dev, int flag, int mode, struct thread *td)
s = spltty();
untimeout(zs_poll_intr, sc, sc->zst);
ttyld_close(tp, flag);
- ttyclose(tp);
+ tty_close(tp);
splx(s);
return (0);
OpenPOWER on IntegriCloud