CVS: alsa-kernel/pci/au88x0 au88x0.c,1.18,1.19
Refer to the recent change in CVS
http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-kernel/pci/au88x0/au88x0.c?r1=1.18&r2=1.19
The au88x0 chips have known conflict with the following PCI devices
1) PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8365_1
2) PCI_VENDOR_ID_VIA, PCI_EVICE_ID_VIA_82C598_1
3) PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_FE_GATE_7007
The function of snd_vortex_workaround() is to detect the presence of these devices and perform vortex_fix_latency() and vortex_fix_agp_bridge() automatically.
http://sourceforge.net/mailarchive/forum.php?thread_id=8137444&forum_id=33141
What is the difference between pci_find_device() and pci_get_device() ?
What is the purpose of adding pci_dev_put(via); at the end of snd_vortex_workaround() ?
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Quoted 9 lines · Raymond
Refer to the recent change in CVS
http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-kernel/pci/au88x0/au88x0.c?r1=1.18&r2=1.19
The au88x0 chips have known conflict with the following PCI devices
1)
PCI_VENDOR_ID_VIA,PCI_DEVICE_ID_VIA_8365_1
2)PCI_VENDOR_ID_VIA,PCI_EVICE_ID_VIA_82C598_1
3)PCI_VENDOR_ID_AMD,PCI_DEVICE_ID_AMD_FE_GATE_7007
Maybe, this is the problem of the driver, I only want to get rid of pci_find_device from the tree, because it's old and deprecated.
Quoted 8 lines
The function of
snd_vortex_workaround()is to detect the presence of these devices and performvortex_fix_latency()andvortex_fix_agp_bridge()automatically.http://sourceforge.net/mailarchive/forum.php?thread_id=8137444&forum_id=33141
What is the difference between
pci_find_device()andpci_get_device()?
pci_find returns structure of device, that couldn't exist, when returned, so pci_get_device uses ref. counts to avoid this.
Quoted 3 lines
What is the purpose of adding
pci_dev_put(via); at the end ofsnd_vortex_workaround()?
pci_dev_put decrements ref. count, when is no longer needed.
--js
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Quoted 2 lines · Jiri Slaby
Quoted 1 line
What is the difference between
pci_find_device()andpci_get_device()?
pci_findreturns structure of device, that couldn't exist, when
that may not exist, i meant
--js
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Quoted 6 lines · Jiri Slaby
Quoted 4 lines · Raymond
Refer to the recent change in CVS
http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-kernel/pci/au88x0/au88x0.c?r1=1.18&r2=1.19
Quoted 9 lines
Quoted 5 lines
The au88x0 chips have known conflict with the following PCI devices
1)
PCI_VENDOR_ID_VIA,PCI_DEVICE_ID_VIA_8365_1
2)PCI_VENDOR_ID_VIA,PCI_EVICE_ID_VIA_82C598_1
3)PCI_VENDOR_ID_AMD,PCI_DEVICE_ID_AMD_FE_GATE_7007Maybe, this is the problem of the driver, I only want to get rid of
pci_find_devicefrom the tree, because it's old and deprecated.
The description of the "Loss of Sound" in Windows driver
http://www.dayc.vispa.com/guides/vortex.htm
Quoted 10 lines
Quoted 7 lines
The function of
snd_vortex_workaround()is to detect the presence of these devices and performvortex_fix_latency()andvortex_fix_agp_bridge()automatically.http://sourceforge.net/mailarchive/forum.php?thread_id=8137444&forum_id=33141
What is the difference between
pci_find_device()andpci_get_device()?
pci_findreturns structure of device, that couldn't exist, when returned, sopci_get_deviceuses ref. counts to avoid this.
Is the result fatal if pci_dev_put() some how can not decrease the ref. count ?
Quoted 6 lines
Quoted 3 lines
What is the purpose of adding
pci_dev_put(via); at the end ofsnd_vortex_workaround()?
pci_dev_putdecrements ref. count, when is no longer needed.
Does this means every vortex_fix_agp_bridge(via) will be followed by pci_dev_put(via) ?
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf