On Fri, Aug 12, 2005 at 03:58:48PM -0400, Lee Revell wrote:
> On Tue, 2005-08-09 at 19:49 +0200, Adrian Bunk wrote:
> > On Tue, Aug 09, 2005 at 01:13:51PM -0400, Lee Revell wrote:
> > > On Fri, 2005-07-29 at 17:32 +0200, Adrian Bunk wrote:
> > > > This patch schedules obsolete OSS drivers (with ALSA drivers that 
> > > > support the same hardware) for removal.
> > > > 
> > > > Scheduling the via82cxxx driver for removal was ACK'ed by Jeff Garzik.
> > > > 
> > > 
> > > Someone on linux-audio-user just pointed out that the OSS USB audio and
> > > midi modules were never deprecated, much less scheduled to be removed.
> > > 
> > > Maybe the best way to deprecate them is to move them to Sound -> OSS,
> > > that's where they belong anyway.
> > 
> > I'd deprecate them without moving them.
> > 
> 
> Here's the patch.  The bug was that CONFIG_USB_AUDIO and CONFIG_USB_MIDI
> need to depend on CONFIG_SOUND_PRIME.
>...

This doesn't deprecate them (I've deprecated only some of the options 
below CONFIG_SOUND_PRIME).

What about the patch below?

A second "deprecated OSS" option doesn't do much harm and seems to be 
the easiest solution.

cu
Adrian


<--  snip  -->


Deprecate the OSS USB drivers.

This patch includes spelling fixes by Lee Revell.


Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>

---

 Documentation/feature-removal-schedule.txt |    2 +-
 drivers/usb/class/Kconfig                  |   21 ++++++++++++++++++---
 2 files changed, 19 insertions(+), 4 deletions(-)

--- linux-2.6.13-rc5-mm1-full/Documentation/feature-removal-schedule.txt.old    
2005-08-14 12:53:46.000000000 +0200
+++ linux-2.6.13-rc5-mm1-full/Documentation/feature-removal-schedule.txt        
2005-08-14 12:54:01.000000000 +0200
@@ -42,7 +42,7 @@
 
 ---------------------------
 
-What:  drivers depending on OBSOLETE_OSS_DRIVER
+What:  drivers depending on OBSOLETE_OSS_DRIVER or OBSOLETE_OSS_USB_DRIVER
 When:  October 2005
 Why:   OSS drivers with ALSA replacements
 Who:   Adrian Bunk <[EMAIL PROTECTED]>
--- linux-2.6.13-rc5-mm1-full/drivers/usb/class/Kconfig.old     2005-08-14 
12:47:29.000000000 +0200
+++ linux-2.6.13-rc5-mm1-full/drivers/usb/class/Kconfig 2005-08-14 
12:54:52.000000000 +0200
@@ -4,9 +4,22 @@
 comment "USB Device Class drivers"
        depends on USB
 
+config OBSOLETE_OSS_USB_DRIVER
+       bool "Obsolete OSS USB drivers"
+       depends on USB && SOUND
+       help
+         This option enables support for the obsolete USB Audio and Midi
+         drivers that are scheduled for removal in the near future since
+         there are ALSA drivers for the same hardware.
+
+         Please contact Adrian Bunk <[EMAIL PROTECTED]> if you had to
+         say Y here because of missing support in the ALSA drivers.
+
+         If unsure, say N.
+
 config USB_AUDIO
        tristate "USB Audio support"
-       depends on USB && SOUND
+       depends on USB && SOUND && OBSOLETE_OSS_USB_DRIVER
        help
          Say Y here if you want to connect USB audio equipment such as
          speakers to your computer's USB port. You only need this if you use
@@ -40,10 +53,12 @@
 
 config USB_MIDI
        tristate "USB MIDI support"
-       depends on USB && SOUND
+       depends on USB && SOUND && OBSOLETE_OSS_USB_DRIVER
        ---help---
          Say Y here if you want to connect a USB MIDI device to your
-         computer's USB port. This driver is for devices that comply with
+         computer's USB port.  You only need this if you use the OSS
+         sound system; USB MIDI devices are supported by ALSA's USB
+         audio driver. This driver is for devices that comply with
          'Universal Serial Bus Device Class Definition for MIDI Device'.
 
          The following devices are known to work:

-
To unsubscribe from this list: send the line "unsubscribe linux-sound" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to