All of lore.kernel.org
 help / color / mirror / Atom feed
* Gateway M675PRR notebook, Sigmatel STAC9758
@ 2005-02-07 18:13 Erik Albert
  2005-02-08 20:04 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Erik Albert @ 2005-02-07 18:13 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 584 bytes --]

On my Gateway M675PRR notebook, the vendor ID is reported as 0xffff.  I needed
to change the test in the ac97_patch.c file to get the special m675_regs to be
used.

--- ac97_patch.c        2005-02-07 12:51:35.000000000 -0500
+++ /root/ac97_patch.c  2005-02-07 12:50:10.303610056 -0500
@@ -657,7 +657,7 @@

        /* Gateway M675 notebook */
        if (ac97->pci &&
-           ac97->subsystem_vendor == 0x107b &&
+           (ac97->subsystem_vendor == 0x107b || ac97->subsystem_vendor ==
0xffff) &&
            ac97->subsystem_device == 0x0601)
                pregs = m675_regs;



[-- Attachment #2: PGP Public Key --]
[-- Type: application/pgp-keys, Size: 1678 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Gateway M675PRR notebook, Sigmatel STAC9758
  2005-02-07 18:13 Gateway M675PRR notebook, Sigmatel STAC9758 Erik Albert
@ 2005-02-08 20:04 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2005-02-08 20:04 UTC (permalink / raw)
  To: Erik Albert; +Cc: alsa-devel

At Mon,  7 Feb 2005 13:13:21 -0500,
Erik Albert wrote:
> 
> [1  <text/plain; ISO-8859-1 (7bit)>]
> On my Gateway M675PRR notebook, the vendor ID is reported as 0xffff.  I needed
> to change the test in the ac97_patch.c file to get the special m675_regs to be
> used.

Hmm, the value 0xffff sounds strange.
It's usually an invalid read...


Takashi


> 
> --- ac97_patch.c        2005-02-07 12:51:35.000000000 -0500
> +++ /root/ac97_patch.c  2005-02-07 12:50:10.303610056 -0500
> @@ -657,7 +657,7 @@
> 
>         /* Gateway M675 notebook */
>         if (ac97->pci &&
> -           ac97->subsystem_vendor == 0x107b &&
> +           (ac97->subsystem_vendor == 0x107b || ac97->subsystem_vendor ==
> 0xffff) &&
>             ac97->subsystem_device == 0x0601)
>                 pregs = m675_regs;
> 
> 
> [2 PGP Public Key <application/pgp-keys (7bit)>]
> 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-08 20:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-07 18:13 Gateway M675PRR notebook, Sigmatel STAC9758 Erik Albert
2005-02-08 20:04 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.