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/ad1848.h | |
parent | ALSA: fix kernel-doc build warning (diff) | |
download | linux-727dede0ba8afbd8d19116d39f2ae8d19d00033d.tar.xz linux-727dede0ba8afbd8d19116d39f2ae8d19d00033d.zip |
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/ad1848.h')
-rw-r--r-- | sound/oss/ad1848.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sound/oss/ad1848.h b/sound/oss/ad1848.h deleted file mode 100644 index b95ebe28d426..000000000000 --- a/sound/oss/ad1848.h +++ /dev/null @@ -1,24 +0,0 @@ - -#include <linux/interrupt.h> - -#define AD_F_CS4231 0x0001 /* Returned if a CS4232 (or compatible) detected */ -#define AD_F_CS4248 0x0001 /* Returned if a CS4248 (or compatible) detected */ - -#define AD1848_SET_XTAL 1 -#define AD1848_MIXER_REROUTE 2 - -#define AD1848_REROUTE(oldctl, newctl) \ - ad1848_control(AD1848_MIXER_REROUTE, ((oldctl)<<8)|(newctl)) - - -int ad1848_init(char *name, struct resource *ports, int irq, int dma_playback, - int dma_capture, int share_dma, int *osp, struct module *owner); -void ad1848_unload (int io_base, int irq, int dma_playback, int dma_capture, int share_dma); - -int ad1848_detect (struct resource *ports, int *flags, int *osp); -int ad1848_control(int cmd, int arg); - -void attach_ms_sound(struct address_info * hw_config, struct resource *ports, struct module * owner); - -int probe_ms_sound(struct address_info *hw_config, struct resource *ports); -void unload_ms_sound(struct address_info *hw_info); |