summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/tw.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/tw.c')
-rw-r--r--sys/i386/isa/tw.c25
1 files changed, 21 insertions, 4 deletions
diff --git a/sys/i386/isa/tw.c b/sys/i386/isa/tw.c
index 3b7b176..3385a85 100644
--- a/sys/i386/isa/tw.c
+++ b/sys/i386/isa/tw.c
@@ -221,10 +221,27 @@ static d_write_t twwrite;
static d_poll_t twpoll;
#define CDEV_MAJOR 19
-static struct cdevsw tw_cdevsw =
- { twopen, twclose, twread, twwrite, /*19*/
- noioc, nullstop, nullreset, nodevtotty, /* tw */
- twpoll, nommap, nostrat, "tw", NULL, -1 };
+static struct cdevsw tw_cdevsw = {
+ /* open */ twopen,
+ /* close */ twclose,
+ /* read */ twread,
+ /* write */ twwrite,
+ /* ioctl */ noioctl,
+ /* stop */ nostop,
+ /* reset */ noreset,
+ /* devtotty */ nodevtotty,
+ /* poll */ twpoll,
+ /* mmap */ nommap,
+ /* strategy */ nostrategy,
+ /* name */ "tw",
+ /* parms */ noparms,
+ /* maj */ CDEV_MAJOR,
+ /* dump */ nodump,
+ /* psize */ nopsize,
+ /* flags */ 0,
+ /* maxio */ 0,
+ /* bmaj */ -1
+};
/*
* Software control structure for TW523
OpenPOWER on IntegriCloud