scheduled OSS driver removal
Subsystems (3)
PATCH 1/1 scheduled OSS driver removal
This patch contains the scheduled removal of OSS drivers whose config options have been removed in 2.6.23.
Signed-off-by Adrian Bunk <[email protected]>
---
Documentation/feature-removal-schedule.txt | 7 arch/ppc/platforms/prep_setup.c | 81 drivers/media/video/Makefile | 1 drivers/media/video/tvmixer.c | 336 - include/asm-powerpc/dma.h | 39 include/linux/ac97_codec.h | 7 sound/oss/Makefile | 9 sound/oss/ac97_codec.c | 284 - sound/oss/btaudio.c | 1139 ------ sound/oss/cs4232.c | 526 --- sound/oss/i810_audio.c | 3656 --------------------- sound/oss/via82cxxx_audio.c | 3618 -------------------- 12 files changed, 4 insertions(+), 9699 deletions(-)
ada61de12600683d8dea78f25564ad21e5a1e41b
Documentation/feature-removal-schedule.txt +0 -7
@@ -226,13 +226,6 @@ Who: Randy Dunlap <[email protected]> --------------------------- -What: drivers depending on OSS_OBSOLETE -When: options in 2.6.23, code in 2.6.25 -Why: obsolete OSS drivers -Who: Adrian Bunk <[email protected]> - ---------------------------- - What: libata spindown skipping and warning When: Dec 2008 Why: Some halt(8) implementations synchronize caches for and spin
arch/ppc/platforms/prep_setup.c +0 -81
104 lines not on this page · raw message
drivers/media/video/Makefile +0 -1
@@ -20,7 +20,6 @@ obj-$(CONFIG_VIDEO_IR_I2C) += ir-kbd-i2c.o obj-$(CONFIG_VIDEO_TVAUDIO) += tvaudio.o obj-$(CONFIG_VIDEO_TDA7432) += tda7432.o obj-$(CONFIG_VIDEO_TDA9875) += tda9875.o -obj-$(CONFIG_SOUND_TVMIXER) += tvmixer.o obj-$(CONFIG_VIDEO_SAA6588) += saa6588.o obj-$(CONFIG_VIDEO_SAA5246A) += saa5246a.o
drivers/media/video/tvmixer.c deleted +0 -336
336 lines not on this page · raw message
include/asm-powerpc/dma.h +4 -35
@@ -93,16 +93,6 @@* */ -/* see prep_setup_arch() for detailed informations */ -#if defined(CONFIG_SOUND_CS4232 ) && defined(CONFIG_PPC_PREP ) -extern long ppc_cs4232_dma, ppc_cs4232_dma2; -#define SND_DMA1 ppc_cs4232_dma -#define SND_DMA2 ppc_cs4232_dma2 -#else -#define SND_DMA1 -1 -#define SND_DMA2 -1 -#endif -/* 8237 DMA controllers */ #define IO_DMA1_BASE 0x00/* 8 bit slave DMA, channels 0..3 */ #define IO_DMA2_BASE 0xC0/* 16 bit master DMA, ch 4(=slave input)..7 */
@@ -269,24 +259,15 @@ static __inline__ void set_dma_page(unsigned int dmanr, int pagenr)dma_outb (pagenr >>8 ,DMA_HI_PAGE_3 );break ;case 5 : -if (SND_DMA1 ==5 ||SND_DMA2 ==5 ) -dma_outb (pagenr,DMA_LO_PAGE_5 ); -else -dma_outb (pagenr &0xfe ,DMA_LO_PAGE_5 ); +dma_outb (pagenr &0xfe ,DMA_LO_PAGE_5 );dma_outb (pagenr >>8 ,DMA_HI_PAGE_5 );break ;case 6 : -if (SND_DMA1 ==6 ||SND_DMA2 ==6 ) -dma_outb (pagenr,DMA_LO_PAGE_6 ); -else -dma_outb (pagenr &0xfe ,DMA_LO_PAGE_6 ); +dma_outb (pagenr &0xfe ,DMA_LO_PAGE_6 );dma_outb (pagenr >>8 ,DMA_HI_PAGE_6 );break ;case 7 : -if (SND_DMA1 ==7 ||SND_DMA2 ==7 ) -dma_outb (pagenr,DMA_LO_PAGE_7 ); -else -dma_outb (pagenr &0xfe ,DMA_LO_PAGE_7 ); +dma_outb (pagenr &0xfe ,DMA_LO_PAGE_7 );dma_outb (pagenr >>8 ,DMA_HI_PAGE_7 );break ; }
@@ -302,12 +283,6 @@ static __inline__ void set_dma_addr(unsigned int dmanr, unsigned int phys) ((dmanr & 3) << 1) + IO_DMA1_BASE);dma_outb ((phys >>8 ) &0xff , ((dmanr &3 ) <<1 ) +IO_DMA1_BASE ); - }else if (dmanr ==SND_DMA1 || dmanr ==SND_DMA2 ) { -dma_outb (phys &0xff , - ((dmanr &3 ) <<2 ) +IO_DMA2_BASE ); -dma_outb ((phys >>8 ) &0xff , - ((dmanr &3 ) <<2 ) +IO_DMA2_BASE ); -dma_outb ((dmanr &3 ),DMA2_EXT_REG ); }else {dma_outb ((phys >>1 ) &0xff , ((dmanr &3 ) <<2 ) +IO_DMA2_BASE );
@@ -334,11 +309,6 @@ static __inline__ void set_dma_count(unsigned int dmanr, unsigned int count) ((dmanr & 3) << 1) + 1 + IO_DMA1_BASE);dma_outb ((count >>8 ) &0xff , ((dmanr &3 ) <<1 ) +1 +IO_DMA1_BASE ); - }else if (dmanr ==SND_DMA1 || dmanr ==SND_DMA2 ) { -dma_outb (count &0xff , - ((dmanr &3 ) <<2 ) +2 +IO_DMA2_BASE ); -dma_outb ((count >>8 ) &0xff , - ((dmanr &3 ) <<2 ) +2 +IO_DMA2_BASE ); }else {dma_outb ((count >>1 ) &0xff , ((dmanr &3 ) <<2 ) +2 +IO_DMA2_BASE );
@@ -368,8 +338,7 @@ static __inline__ int get_dma_residue(unsigned int dmanr) count =1 +dma_inb (io_port); count +=dma_inb (io_port) <<8 ; -return (dmanr <=3 || dmanr ==SND_DMA1 || dmanr ==SND_DMA2 ) - ? count : (count <<1 ); +return (dmanr <=3 ) ? count : (count <<1 ); }/* These are in kernel/dma.c: */
include/linux/ac97_codec.h +0 -7
@@ -326,11 +326,7 @@ struct ac97_ops#define AC97_DEFAULT_POWER_OFF 4/* Needs warm reset to power up */ }; -extern int ac97_read_proc (char *page_out,char **start,off_t off, -int count,int *eof,void *data);extern int ac97_probe_codec (struct ac97_codec *); -extern unsigned int ac97_set_adc_rate (struct ac97_codec *codec,unsigned int rate); -extern unsigned int ac97_set_dac_rate (struct ac97_codec *codec,unsigned int rate);extern struct ac97_codec *ac97_alloc_codec (void );extern void ac97_release_codec (struct ac97_codec *codec);
@@ -363,7 +359,4 @@ struct ac97_quirk { int type; /* quirk type above */ }; -struct pci_dev ; -extern int ac97_tune_hardware (struct pci_dev *pdev,struct ac97_quirk *quirk,int override); -#endif /* _AC97_CODEC_H_ */
sound/oss/Makefile +0 -9
@@ -6,7 +6,6 @@ # Each configuration option enables a list of files. obj-$(CONFIG_SOUND_OSS) += sound.o -obj-$(CONFIG_SOUND_CS4232) += cs4232.o ad1848.o # Please leave it as is, cause the link order is significant !
@@ -16,7 +15,6 @@ obj-$(CONFIG_SOUND_AEDSP16) += aedsp16.o obj-$(CONFIG_SOUND_PSS) += pss.o ad1848.o mpu401.o obj-$(CONFIG_SOUND_TRIX) += trix.o ad1848.o sb_lib.o uart401.o obj-$(CONFIG_SOUND_SSCAPE) += sscape.o ad1848.o mpu401.o -obj-$(CONFIG_SOUND_CS4232) += cs4232.o uart401.o obj-$(CONFIG_SOUND_MSS) += ad1848.o obj-$(CONFIG_SOUND_PAS) += pas2.o sb.o sb_lib.o uart401.o obj-$(CONFIG_SOUND_SB) += sb.o sb_lib.o uart401.o
@@ -27,19 +25,12 @@ obj-$(CONFIG_SOUND_YM3812) += opl3.o obj-$(CONFIG_SOUND_VMIDI) += v_midi.o obj-$(CONFIG_SOUND_VIDC) += vidc_mod.o obj-$(CONFIG_SOUND_WAVEARTIST) += waveartist.o - -obj-$(CONFIG_SOUND_VIA82CXXX) += via82cxxx_audio.o ac97_codec.o -ifeq ($(CONFIG_MIDI_VIA82CXXX),y) - obj-$(CONFIG_SOUND_VIA82CXXX) += sound.o uart401.o -endif obj-$(CONFIG_SOUND_MSNDCLAS) += msnd.o msnd_classic.o obj-$(CONFIG_SOUND_MSNDPIN) += msnd.o msnd_pinnacle.o obj-$(CONFIG_SOUND_VWSND) += vwsnd.o -obj-$(CONFIG_SOUND_ICH) += i810_audio.o ac97_codec.o obj-$(CONFIG_SOUND_AU1550_AC97) += au1550_ac97.o ac97_codec.o obj-$(CONFIG_SOUND_TRIDENT) += trident.o ac97_codec.o obj-$(CONFIG_SOUND_BCM_CS4297A) += swarm_cs4297a.o -obj-$(CONFIG_SOUND_BT878) += btaudio.o obj-$(CONFIG_SOUND_WM97XX) += ac97_plugin_wm97xx.o
sound/oss/ac97_codec.c +0 -284
301 lines not on this page · raw message
sound/oss/btaudio.c deleted +0 -1139
1,139 lines not on this page · raw message
sound/oss/cs4232.c deleted +0 -526
526 lines not on this page · raw message
sound/oss/i810_audio.c deleted +0 -3656
448 lines not on this page · raw message
sound/oss/via82cxxx_audio.c deleted +0 -3618
3,618 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.