summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/snd/sound.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/snd/sound.c')
-rw-r--r--sys/i386/isa/snd/sound.c23
1 files changed, 19 insertions, 4 deletions
diff --git a/sys/i386/isa/snd/sound.c b/sys/i386/isa/snd/sound.c
index 7b4e1bb..f4be1a6 100644
--- a/sys/i386/isa/snd/sound.c
+++ b/sys/i386/isa/snd/sound.c
@@ -75,10 +75,25 @@ static d_mmap_t sndmmap;
#define CDEV_MAJOR 30
static struct cdevsw snd_cdevsw = {
- sndopen, sndclose, sndread, sndwrite,
- sndioctl, nostop, noreset, nodevtotty,
- sndselect, sndmmap, nostrategy, "snd",
- NULL, -1,
+ /* open */ sndopen,
+ /* close */ sndclose,
+ /* read */ sndread,
+ /* write */ sndwrite,
+ /* ioctl */ sndioctl,
+ /* stop */ nostop,
+ /* reset */ noreset,
+ /* devtotty */ nodevtotty,
+ /* poll */ sndselect,
+ /* mmap */ sndmmap,
+ /* strategy */ nostrategy,
+ /* name */ "snd",
+ /* parms */ noparms,
+ /* maj */ CDEV_MAJOR,
+ /* dump */ nodump,
+ /* psize */ nopsize,
+ /* flags */ 0,
+ /* maxio */ 0,
+ /* bmaj */ -1
};
/*
OpenPOWER on IntegriCloud