diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-10-24 09:15:23 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-10-31 11:06:39 +0100 |
commit | 727dede0ba8afbd8d19116d39f2ae8d19d00033d (patch) | |
tree | 45e476bd259b8d5e7851f1adf31fe5e3f21fd27b /sound/oss/os.h | |
parent | 3f1185d6c9d3fe91aa85ec8d3f4d71207452c458 (diff) | |
download | linux-727dede0ba8afbd8d19116d39f2ae8d19d00033d.tar.bz2 |
sound: Retire OSS
Since no complaints have been raised after disabling the build of OSS
(Open Sound System) by the commit 31cbee6a5611 ("sound: Disable the
build of OSS drivers"), let's finally drop the whole code and
documentation.
Some glue codes are still left intact since sound/oss/dmasound stuff
remains -- which is an independent implementation solely for m68k, and
it's not covered by ALSA yet.
Also, a couple of API header files (linux/sound.h and
linux/soundcard.h) are kept remaining as well, since the OSS API
itself is still supported by ALSA OSS emulation, and applications can
refer to these.
Where we're at it, some help texts in the top-level Kconfig are
adjusted, too (who still needs to specify I/O port in kbuild
nowadays?).
Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/oss/os.h')
-rw-r--r-- | sound/oss/os.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/sound/oss/os.h b/sound/oss/os.h deleted file mode 100644 index 0bf89e1d679c..000000000000 --- a/sound/oss/os.h +++ /dev/null @@ -1,45 +0,0 @@ -#define ALLOW_SELECT -#undef NO_INLINE_ASM -#define SHORT_BANNERS -#define MANUAL_PNP -#undef DO_TIMINGS - -#include <linux/module.h> - -#ifdef __KERNEL__ -#include <linux/string.h> -#include <linux/fs.h> -#include <asm/dma.h> -#include <asm/io.h> -#include <asm/param.h> -#include <linux/sched.h> -#include <linux/slab.h> -#include <linux/ioport.h> -#include <asm/page.h> -#include <linux/vmalloc.h> -#include <linux/uaccess.h> -#include <linux/poll.h> -#include <linux/pci.h> -#endif - -#include <linux/soundcard.h> - -#define FALSE 0 -#define TRUE 1 - -extern int sound_alloc_dma(int chn, char *deviceID); -extern int sound_open_dma(int chn, char *deviceID); -extern void sound_free_dma(int chn); -extern void sound_close_dma(int chn); - -extern void reprogram_timer(void); - -#define USE_AUTOINIT_DMA - -extern void *sound_mem_blocks[1024]; -extern int sound_nblocks; - -#undef PSEUDO_DMA_AUTOINIT -#define ALLOW_BUFFER_MAPPING - -extern const struct file_operations oss_sound_fops; |