Add amd7930 to include/sound/sndmagic.h
PATCH 1/1 Add amd7930 to include/sound/sndmagic.h
The included patch adds amd7930 to the include/sound/sndmagic.h in 2.6, allowing the sun-snd-amd7930 driver to build.
According to the ALSA doc about writing drivers, the define in sndmagic.h doesn't need to be a particular value as long as it is unique, so that is what I did here.
sound/sndmagic.h renamed from sound/sndmagic.h.orig +1 -0
@@ -203,6 +203,7 @@#define pdacf_t_magic 0xa15a4500#define vortex_t_magic 0xa15a4601#define atiixp_t_magic 0xa15a4701 +#define amd7930_t_magic 0xa15a4801#else
Signature · 2 lines
Jason Wever Gentoo/Sparc Team Co-Lead
On Mon, 2004-04-05 23:12:29 -0600, Jason Wever <[email protected]> wrote in message <[email protected]>:
Quoted 6 lines
The included patch adds amd7930 to the
include/sound/sndmagic.hin 2.6, allowing the sun-snd-amd7930 driver to build.According to the ALSA doc about writing drivers, the define in
sndmagic.hdoesn't need to be a particular value as long as it is unique, so that is what I did here.
Nice :) This may fix a compile-time bug when enabling the MAGIC things. I've done a port of the amd driver to the VAX and stumpled over this, but was too lazy to fix it (-> module loading not yet finished, as well as extending the kernel PTE table at run-time).
Thanks for doing the work, JBG
Signature · 4 lines
Jan-Benedict Glaw [email protected] . +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
David S. Miller
AppliedQuoted 6 lines · On Mon, 5 Apr 2004 23:12:29 -0600 Jason Wever <[email protected]> wrote:
The included patch adds amd7930 to the
include/sound/sndmagic.hin 2.6, allowing the sun-snd-amd7930 driver to build.According to the ALSA doc about writing drivers, the define in
sndmagic.hdoesn't need to be a particular value as long as it is unique, so that is what I did here.
Applied, thanks Jason.
Hey, can you "-p1" root your patches in the future? That will save me a little bit of work and get your changes installed faster as a result :-)
Thanks again.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 4 lines · David S. Miller
Hey, can you "-p1" root your patches in the future? That will save me a little bit of work and get your changes installed faster as a result :-)
Sure thing.
Thanks,
- --
Jason Wever
Gentoo/Sparc Co-Team Lead
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAd0TTdKvgdVioq28RAjwCAJ0WNL6bZuv1HRedbazyG/2G4kjzBQCgh7hW 4oQKdx9coJgKiXxFMbneDSw=umlL
-----END PGP SIGNATURE-----