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.c21
1 files changed, 8 insertions, 13 deletions
diff --git a/sys/alpha/tlsb/zs_tlsb.c b/sys/alpha/tlsb/zs_tlsb.c
index c22e4fc..bc82c3c 100644
--- a/sys/alpha/tlsb/zs_tlsb.c
+++ b/sys/alpha/tlsb/zs_tlsb.c
@@ -69,19 +69,14 @@ static d_ioctl_t zsioctl;
#define CDEV_MAJOR 135
static struct cdevsw zs_cdevsw = {
- /* open */ zsopen,
- /* close */ zsclose,
- /* read */ ttyread,
- /* write */ ttywrite,
- /* ioctl */ zsioctl,
- /* poll */ ttypoll,
- /* mmap */ nommap,
- /* strategy */ nostrategy,
- /* name */ "zs",
- /* maj */ CDEV_MAJOR,
- /* dump */ nodump,
- /* psize */ nopsize,
- /* flags */ 0,
+ .d_open = zsopen,
+ .d_close = zsclose,
+ .d_read = ttyread,
+ .d_write = ttywrite,
+ .d_ioctl = zsioctl,
+ .d_poll = ttypoll,
+ .d_name = "zs",
+ .d_maj = CDEV_MAJOR,
};
static void zsstart(struct tty *);
OpenPOWER on IntegriCloud