[alsa-devel] [PATCH] snd-sbxfi: use SBXXXX model numbers instead of user-unfriendly names like UAA and ORIG.

Takashi Iwai tiwai at suse.de
Sun Oct 19 10:48:28 CEST 2008


At Sat, 18 Oct 2008 19:58:23 -0500,
William Pitcock wrote:
> 
> This is just something that bothers me. There's no reason to accept or reject it,
> other than that it might be more informative about what hardware revision we are
> dealing with.
> 
> Signed-off-by: William Pitcock <nenolod at sacredspiral.co.uk>

Applied.  This looks better indeed.


Takashi

> 
> ---
>  sound/pci/sbxfi/sbxfi.c |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/sound/pci/sbxfi/sbxfi.c b/sound/pci/sbxfi/sbxfi.c
> index 30ad25b..c006278 100644
> --- a/sound/pci/sbxfi/sbxfi.c
> +++ b/sound/pci/sbxfi/sbxfi.c
> @@ -1702,10 +1702,10 @@ static int __devinit sbxfi_create_mixer(struct sbxfi *chip)
>   */
>  
>  static char *typenames[SBXFI_HW_TYPES] = {
> -	[SBXFI_HW_ORIG] = "ORIG",
> -	[SBXFI_HW_055x] = "055x",
> -	[SBXFI_HW_073x] = "073x",
> -	[SBXFI_HW_UAA] = "UAA"
> +	[SBXFI_HW_ORIG] = "SB0760",
> +	[SBXFI_HW_055x] = "SB0550",
> +	[SBXFI_HW_073x] = "SB0730",
> +	[SBXFI_HW_UAA] = "SB0886"
>  };
>  
>  #ifdef CONFIG_PROC_FS
> -- 
> 1.5.5.4
> 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 


More information about the Alsa-devel mailing list