summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/wt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/wt.c')
-rw-r--r--sys/i386/isa/wt.c21
1 files changed, 8 insertions, 13 deletions
diff --git a/sys/i386/isa/wt.c b/sys/i386/isa/wt.c
index 64356e7..e29664d 100644
--- a/sys/i386/isa/wt.c
+++ b/sys/i386/isa/wt.c
@@ -186,19 +186,14 @@ static d_strategy_t wtstrategy;
#define CDEV_MAJOR 10
static struct cdevsw wt_cdevsw = {
- /* open */ wtopen,
- /* close */ wtclose,
- /* read */ physread,
- /* write */ physwrite,
- /* ioctl */ wtioctl,
- /* poll */ nopoll,
- /* mmap */ nommap,
- /* strategy */ wtstrategy,
- /* name */ "wt",
- /* maj */ CDEV_MAJOR,
- /* dump */ nodump,
- /* psize */ nopsize,
- /* flags */ 0,
+ .d_open = wtopen,
+ .d_close = wtclose,
+ .d_read = physread,
+ .d_write = physwrite,
+ .d_ioctl = wtioctl,
+ .d_strategy = wtstrategy,
+ .d_name = "wt",
+ .d_maj = CDEV_MAJOR,
};
OpenPOWER on IntegriCloud