linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai-l3A5Bk7waGM@public.gmane.org>
To: Jarkko Nikula <jarkko.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
Cc: alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org,
	Jaroslav Kysela <perex-/Fr2/VpizcU@public.gmane.org>,
	linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 4/4] sound: oss: Remove dead sound card number definitions part #2
Date: Thu, 11 Dec 2014 14:10:05 +0100	[thread overview]
Message-ID: <s5htx12l4cy.wl-tiwai@suse.de> (raw)
In-Reply-To: <1418300353-13243-4-git-send-email-jarkko.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>

At Thu, 11 Dec 2014 14:19:13 +0200,
Jarkko Nikula wrote:
> 
> None of these is used in kernel tree.
> 
> Signed-off-by: Jarkko Nikula <jarkko.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> Cc: linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> ---
> RFC, I don't know can these be used in user-space?

I guess we should keep these.  These are fixed ID numbers, no matter
whether the driver actually is present or not.


Takashi

> ---
>  include/uapi/linux/soundcard.h | 22 ----------------------
>  1 file changed, 22 deletions(-)
> 
> diff --git a/include/uapi/linux/soundcard.h b/include/uapi/linux/soundcard.h
> index f3b21f989872..d2256bf4bdd8 100644
> --- a/include/uapi/linux/soundcard.h
> +++ b/include/uapi/linux/soundcard.h
> @@ -48,32 +48,10 @@
>   *	Supported card ID numbers (Should be somewhere else?)
>   */
>  
> -#define SNDCARD_ADLIB		1
>  #define SNDCARD_SB		2
>  #define SNDCARD_PAS		3
> -#define SNDCARD_GUS		4
>  #define SNDCARD_MPU401		5
> -#define SNDCARD_SB16		6
> -#define SNDCARD_SB16MIDI	7
>  #define SNDCARD_UART6850	8
> -#define SNDCARD_GUS16		9
> -#define SNDCARD_MSS		10
> -#define SNDCARD_PSS     	11
> -#define SNDCARD_SSCAPE		12
> -#define SNDCARD_PSS_MPU     	13
> -#define SNDCARD_PSS_MSS     	14
> -#define SNDCARD_SSCAPE_MSS	15
> -#define SNDCARD_TRXPRO		16
> -#define SNDCARD_TRXPRO_SB	17
> -#define SNDCARD_TRXPRO_MPU	18
> -#define SNDCARD_MAD16		19
> -#define SNDCARD_MAD16_MPU	20
> -#define SNDCARD_CS4232		21
> -#define SNDCARD_CS4232_MPU	22
> -#define SNDCARD_MAUI		23
> -#define SNDCARD_PSEUDO_MSS	24
> -#define SNDCARD_GUSPNP		25
> -#define SNDCARD_UART401		26
>  /* Sound card numbers 27 to N are reserved. Don't add more numbers here. */
>  
>  /***********************************
> -- 
> 2.1.3
> 

      parent reply	other threads:[~2014-12-11 13:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1418300353-13243-1-git-send-email-jarkko.nikula@linux.intel.com>
     [not found] ` <1418300353-13243-1-git-send-email-jarkko.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2014-12-11 12:19   ` [PATCH 4/4] sound: oss: Remove dead sound card number definitions part #2 Jarkko Nikula
     [not found]     ` <1418300353-13243-4-git-send-email-jarkko.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2014-12-11 13:10       ` Takashi Iwai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5htx12l4cy.wl-tiwai@suse.de \
    --to=tiwai-l3a5bk7wagm@public.gmane.org \
    --cc=alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org \
    --cc=jarkko.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
    --cc=linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=perex-/Fr2/VpizcU@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).