summaryrefslogtreecommitdiffstats
path: root/sys/alpha/tlsb/zs_tlsb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/alpha/tlsb/zs_tlsb.c')
-rw-r--r--sys/alpha/tlsb/zs_tlsb.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/alpha/tlsb/zs_tlsb.c b/sys/alpha/tlsb/zs_tlsb.c
index 55065e1..035ac45 100644
--- a/sys/alpha/tlsb/zs_tlsb.c
+++ b/sys/alpha/tlsb/zs_tlsb.c
@@ -73,11 +73,9 @@ static d_ioctl_t zsioctl;
static struct cdevsw zs_cdevsw = {
.d_open = zsopen,
.d_close = zsclose,
- .d_read = ttyread,
- .d_write = ttywrite,
.d_ioctl = zsioctl,
- .d_poll = ttypoll,
.d_name = "zs",
+ .d_flags = D_TTY,
};
static void zsstart(struct tty *);
OpenPOWER on IntegriCloud