[alsa-devel] alsa git: which version of ac97_codec.c am i supposed to hxr?

John L. Utz III john.utz at dmx.com
Sat Aug 16 01:15:45 CEST 2008


Hello All;

I feel confused by the presence of 2 different copies of ac97_codec.c:

   jutz-gnto ~ # find . -name ac97_codec.c
     ./alsa-driver/pci/ac97/ac97_codec.c
     ./alsa-kmirror/pci/ac97/ac97_codec.c

worse yet,they are not in sync:

jutz-gnto ~ # diff -w ./alsa-driver/pci/ac97/ac97_codec.c  
./alsa-kmirror/pci/ac97/ac97_codec.c
1d0
< #include "adriver.h"
38c37
< #include "../../alsa-kernel/pci/ac97/ac97_id.h"
---
> #include "ac97_id.h"
40c39
< #include "../../alsa-kernel/pci/ac97/ac97_patch.c"
---
> #include "ac97_patch.c"
1917d1915
< #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
1929d1926
< #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 14)
1931d1927
< #endif
1953,1956d1948
< #else /* <= 2.6.0 */
< #define snd_ac97_dev_register NULL
< #define snd_ac97_dev_disconnect       NULL
< #endif


Which of these am i supposed to use? am i supposed to change both of them  
for some backward compatibility purpose?

tnx!

johnu



More information about the Alsa-devel mailing list