diff options
author | phk <phk@FreeBSD.org> | 1999-09-25 18:24:47 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-09-25 18:24:47 +0000 |
commit | e9e05122106077f828fbbd0964036c22503d1633 (patch) | |
tree | a2c7d461d93e3013c84a30e06340b510ec96aaa9 /sys/i386/isa/snd/sound.c | |
parent | a0c34c5a2300c81f85c92ac6327b1d2ad3a56a77 (diff) | |
download | FreeBSD-src-e9e05122106077f828fbbd0964036c22503d1633.zip FreeBSD-src-e9e05122106077f828fbbd0964036c22503d1633.tar.gz |
Remove five now unused fields from struct cdevsw. They should never
have been there in the first place. A GENERIC kernel shrinks almost 1k.
Add a slightly different safetybelt under nostop for tty drivers.
Add some missing FreeBSD tags
Diffstat (limited to 'sys/i386/isa/snd/sound.c')
-rw-r--r-- | sys/i386/isa/snd/sound.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/i386/isa/snd/sound.c b/sys/i386/isa/snd/sound.c index 4e2062f..bf980fd 100644 --- a/sys/i386/isa/snd/sound.c +++ b/sys/i386/isa/snd/sound.c @@ -48,6 +48,8 @@ * device parameters, then call the board-specific routines if * available, or try to perform the task using the default code. * + * $FreeBSD$ + * */ #include <i386/isa/snd/sound.h> @@ -75,19 +77,14 @@ static struct cdevsw snd_cdevsw = { /* 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 }; |