From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Slaby Subject: Re: Re : CVS: alsa-kernel/pci/au88x0 au88x0.c,1.18,1.19 Date: Sat, 10 Sep 2005 09:57:54 +0200 Message-ID: <4af2d03a05091000577d5ed477@mail.gmail.com> References: <43226AE6.3060502@netvigator.com> Reply-To: jirislaby@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <43226AE6.3060502@netvigator.com> Content-Disposition: inline Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Raymond Cc: Takashi Iwai , alsa-devel@lists.sourceforge.net, Manuel Jander , openvortex-dev@nongnu.org, xslaby@fi.muni.cz List-Id: alsa-devel@alsa-project.org On 9/10/05, Raymond wrote: > Refer to the recent change in CVS >=20 > http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-kernel/pci/au88x0/au88x0.= c?r1=3D1.18&r2=3D1.19 >=20 > The au88x0 chips have known conflict with the following PCI devices >=20 > 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. >=20 > 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. >=20 > http://sourceforge.net/mailarchive/forum.php?thread_id=3D8137444&forum_id= =3D33141 >=20 > What is the difference between pci_find_device() and pci_get_device() ? pci_find returns structure of device, that couldn't exist, when returned, so pci_get_device uses ref. counts to avoid this. >=20 > What is the purpose of adding pci_dev_put(via); at the end of > snd_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