dsp.c (111462) | dsp.c (111815) |
---|---|
1/* 2 * Copyright (c) 1999 Cameron Grant <gandalf@vilnya.demon.co.uk> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 15 unchanged lines hidden (view full) --- 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/param.h> 28#include <sys/queue.h> 29 30#include <dev/sound/pcm/sound.h> 31 | 1/* 2 * Copyright (c) 1999 Cameron Grant <gandalf@vilnya.demon.co.uk> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 15 unchanged lines hidden (view full) --- 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/param.h> 28#include <sys/queue.h> 29 30#include <dev/sound/pcm/sound.h> 31 |
32SND_DECLARE_FILE("$FreeBSD: head/sys/dev/sound/pcm/dsp.c 111462 2003-02-25 03:21:22Z mux $"); | 32SND_DECLARE_FILE("$FreeBSD: head/sys/dev/sound/pcm/dsp.c 111815 2003-03-03 12:15:54Z phk $"); |
33 34#define OLDPCM_IOCTL 35 36static d_open_t dsp_open; 37static d_close_t dsp_close; 38static d_read_t dsp_read; 39static d_write_t dsp_write; 40static d_ioctl_t dsp_ioctl; 41static d_poll_t dsp_poll; 42static d_mmap_t dsp_mmap; 43 44static struct cdevsw dsp_cdevsw = { | 33 34#define OLDPCM_IOCTL 35 36static d_open_t dsp_open; 37static d_close_t dsp_close; 38static d_read_t dsp_read; 39static d_write_t dsp_write; 40static d_ioctl_t dsp_ioctl; 41static d_poll_t dsp_poll; 42static d_mmap_t dsp_mmap; 43 44static struct cdevsw dsp_cdevsw = { |
45 /* open */ dsp_open, 46 /* close */ dsp_close, 47 /* read */ dsp_read, 48 /* write */ dsp_write, 49 /* ioctl */ dsp_ioctl, 50 /* poll */ dsp_poll, 51 /* mmap */ dsp_mmap, 52 /* strategy */ nostrategy, 53 /* name */ "dsp", 54 /* maj */ SND_CDEV_MAJOR, 55 /* dump */ nodump, 56 /* psize */ nopsize, 57 /* flags */ 0, | 45 .d_open = dsp_open, 46 .d_close = dsp_close, 47 .d_read = dsp_read, 48 .d_write = dsp_write, 49 .d_ioctl = dsp_ioctl, 50 .d_poll = dsp_poll, 51 .d_mmap = dsp_mmap, 52 .d_name = "dsp", 53 .d_maj = SND_CDEV_MAJOR, |
58}; 59 60#ifdef USING_DEVFS 61static eventhandler_tag dsp_ehtag; 62#endif 63 64static struct snddev_info * 65dsp_get_info(dev_t dev) --- 1085 unchanged lines hidden --- | 54}; 55 56#ifdef USING_DEVFS 57static eventhandler_tag dsp_ehtag; 58#endif 59 60static struct snddev_info * 61dsp_get_info(dev_t dev) --- 1085 unchanged lines hidden --- |