openvortex-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openvortex-dev] Re: Re : CVS: alsa-kernel/pci/au88x0 au88x0.c, 1.18, 1


From: Jiri Slaby
Subject: [Openvortex-dev] Re: Re : CVS: alsa-kernel/pci/au88x0 au88x0.c, 1.18, 1.19
Date: Sat, 10 Sep 2005 09:57:54 +0200

On 9/10/05, Raymond <address@hidden> wrote:
> 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.
> 
> 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() ?
pci_find returns structure of device, that couldn't exist, when
returned, so pci_get_device uses ref. counts to avoid this.
> 
> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]