summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/sound
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-09-25 18:24:47 +0000
committerphk <phk@FreeBSD.org>1999-09-25 18:24:47 +0000
commite9e05122106077f828fbbd0964036c22503d1633 (patch)
treea2c7d461d93e3013c84a30e06340b510ec96aaa9 /sys/i386/isa/sound
parenta0c34c5a2300c81f85c92ac6327b1d2ad3a56a77 (diff)
downloadFreeBSD-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/sound')
-rw-r--r--sys/i386/isa/sound/soundcard.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/i386/isa/sound/soundcard.c b/sys/i386/isa/sound/soundcard.c
index 746ea9b..98656c8 100644
--- a/sys/i386/isa/sound/soundcard.c
+++ b/sys/i386/isa/sound/soundcard.c
@@ -24,7 +24,9 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
+ *
+ * $FreeBSD$
+ *
*/
#include <i386/isa/sound/sound_config.h>
#if NSND > 0 /* from "snd.h" */
@@ -92,19 +94,14 @@ static struct cdevsw snd_cdevsw = {
/* read */ sndread,
/* write */ sndwrite,
/* ioctl */ sndioctl,
- /* stop */ nostop,
- /* reset */ noreset,
- /* devtotty */ nodevtotty,
/* poll */ sndpoll,
/* mmap */ sndmmap,
/* strategy */ nostrategy,
/* name */ driver_name,
- /* parms */ noparms,
/* maj */ CDEV_MAJOR,
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
- /* maxio */ 0,
/* bmaj */ -1
};
OpenPOWER on IntegriCloud