Update of /cvsroot/alsa/alsa-kernel/pci/ac97 In directory sc8-pr-cvs1:/tmp/cvs-serv22857
Modified Files: ac97_codec.c Log Message: - read pci subsystem vendor/device id in snd_ac97_mixer(), too. Index: ac97_codec.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/pci/ac97/ac97_codec.c,v retrieving revision 1.95 retrieving revision 1.96 diff -u -r1.95 -r1.96 --- ac97_codec.c 3 Jun 2003 12:25:59 -0000 1.95 +++ ac97_codec.c 5 Jun 2003 13:09:43 -0000 1.96 @@ -2081,6 +2081,10 @@ ac97->card = card; spin_lock_init(&ac97->reg_lock); + if (ac97->pci) { + pci_read_config_word(ac97->pci, PCI_SUBSYSTEM_VENDOR_ID, &ac97->subsystem_vendor); + pci_read_config_word(ac97->pci, PCI_SUBSYSTEM_ID, &ac97->subsystem_device); + } if (ac97->reset) { ac97->reset(ac97); goto __access_ok; ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog