summaryrefslogtreecommitdiffstats
path: root/sys/coda/coda_fbsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/coda/coda_fbsd.c')
-rw-r--r--sys/coda/coda_fbsd.c21
1 files changed, 8 insertions, 13 deletions
diff --git a/sys/coda/coda_fbsd.c b/sys/coda/coda_fbsd.c
index 6907c63..23ce5e4 100644
--- a/sys/coda/coda_fbsd.c
+++ b/sys/coda/coda_fbsd.c
@@ -66,19 +66,14 @@
#define VC_DEV_NO 93
static struct cdevsw codadevsw = {
- /* open */ vc_nb_open,
- /* close */ vc_nb_close,
- /* read */ vc_nb_read,
- /* write */ vc_nb_write,
- /* ioctl */ vc_nb_ioctl,
- /* poll */ vc_nb_poll,
- /* mmap */ nommap,
- /* strategy */ nostrategy,
- /* name */ "Coda",
- /* maj */ VC_DEV_NO,
- /* dump */ nodump,
- /* psize */ nopsize,
- /* flags */ 0,
+ .d_open = vc_nb_open,
+ .d_close = vc_nb_close,
+ .d_read = vc_nb_read,
+ .d_write = vc_nb_write,
+ .d_ioctl = vc_nb_ioctl,
+ .d_poll = vc_nb_poll,
+ .d_name = "Coda",
+ .d_maj = VC_DEV_NO,
};
int vcdebug = 1;
OpenPOWER on IntegriCloud