diff options
Diffstat (limited to 'sys/i386/isa/cx.c')
-rw-r--r-- | sys/i386/isa/cx.c | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/sys/i386/isa/cx.c b/sys/i386/isa/cx.c index e814415..0892a0f 100644 --- a/sys/i386/isa/cx.c +++ b/sys/i386/isa/cx.c @@ -73,20 +73,16 @@ static d_ioctl_t cxioctl; #define CDEV_MAJOR 42 /* Don't make this static, since if_cx.c uses it. */ struct cdevsw cx_cdevsw = { - /* open */ cxopen, - /* close */ cxclose, - /* read */ ttyread, - /* write */ ttywrite, - /* ioctl */ cxioctl, - /* poll */ ttypoll, - /* mmap */ nommap, - /* strategy */ nostrategy, - /* name */ "cx", - /* maj */ CDEV_MAJOR, - /* dump */ nodump, - /* psize */ nopsize, - /* flags */ D_TTY | D_KQFILTER, - /* kqfilter */ ttykqfilter, + .d_open = cxopen, + .d_close = cxclose, + .d_read = ttyread, + .d_write = ttywrite, + .d_ioctl = cxioctl, + .d_poll = ttypoll, + .d_name = "cx", + .d_maj = CDEV_MAJOR, + .d_flags = D_TTY | D_KQFILTER, + .d_kqfilter = ttykqfilter, }; static void cxoproc (struct tty *tp); |