* Re : CVS: alsa-kernel/pci/au88x0 au88x0.c,1.18,1.19
@ 2005-09-10 5:11 Raymond
2005-09-10 7:57 ` Jiri Slaby
0 siblings, 1 reply; 4+ messages in thread
From: Raymond @ 2005-09-10 5:11 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel, Manuel Jander, openvortex-dev, xslaby
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Re : CVS: alsa-kernel/pci/au88x0 au88x0.c,1.18,1.19
2005-09-10 5:11 Re : CVS: alsa-kernel/pci/au88x0 au88x0.c,1.18,1.19 Raymond
@ 2005-09-10 7:57 ` Jiri Slaby
2005-09-10 9:56 ` Jiri Slaby
2005-09-12 17:26 ` Raymond
0 siblings, 2 replies; 4+ messages in thread
From: Jiri Slaby @ 2005-09-10 7:57 UTC (permalink / raw)
To: Raymond; +Cc: Takashi Iwai, alsa-devel, Manuel Jander, openvortex-dev, xslaby
On 9/10/05, Raymond <rayau@netvigator.com> 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
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Re : CVS: alsa-kernel/pci/au88x0 au88x0.c,1.18,1.19
2005-09-10 7:57 ` Jiri Slaby
@ 2005-09-10 9:56 ` Jiri Slaby
2005-09-12 17:26 ` Raymond
1 sibling, 0 replies; 4+ messages in thread
From: Jiri Slaby @ 2005-09-10 9:56 UTC (permalink / raw)
To: Raymond; +Cc: Takashi Iwai, alsa-devel, Manuel Jander, openvortex-dev, xslaby
On 9/10/05, Jiri Slaby <jirislaby@gmail.com> wrote:
> > What is the difference between pci_find_device() and pci_get_device() ?
> pci_find returns 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Re : CVS: alsa-kernel/pci/au88x0 au88x0.c,1.18,1.19
2005-09-10 7:57 ` Jiri Slaby
2005-09-10 9:56 ` Jiri Slaby
@ 2005-09-12 17:26 ` Raymond
1 sibling, 0 replies; 4+ messages in thread
From: Raymond @ 2005-09-12 17:26 UTC (permalink / raw)
To: jirislaby; +Cc: alsa-devel
Jiri Slaby wrote:
> On 9/10/05, Raymond <rayau@netvigator.com> 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 description of the "Loss of Sound" in Windows driver
http://www.dayc.vispa.com/guides/vortex.htm
>>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.
Is the result fatal if pci_dev_put() some how can not decrease the ref.
count ?
>
>>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.
>
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-09-12 17:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-10 5:11 Re : CVS: alsa-kernel/pci/au88x0 au88x0.c,1.18,1.19 Raymond
2005-09-10 7:57 ` Jiri Slaby
2005-09-10 9:56 ` Jiri Slaby
2005-09-12 17:26 ` Raymond
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.