On Wed, Jul 20, 2022 at 3:20 PM Stafford Horne wrote:
>
> The definition of the pci header function pci_get_legacy_ide_irq is only
> used in platforms that support PNP. So many of the architecutres where
> it is defined do not use it. This also means we can remove
> asm-generic/pci.h as all it p
> -Original Message-
> From: Linuxppc-dev bounces+camelia.groza=nxp@lists.ozlabs.org> On Behalf Of Sean
> Anderson
> Sent: Saturday, July 16, 2022 1:00
> To: David S . Miller ; Jakub Kicinski
> ; Madalin Bucur ;
> net...@vger.kernel.org
> Cc: Leo Li ; Sean Anderson
> ; Russell King ; l
> -Original Message-
> From: Linuxppc-dev bounces+camelia.groza=nxp@lists.ozlabs.org> On Behalf Of Sean
> Anderson
> Sent: Saturday, July 16, 2022 1:00
> To: David S . Miller ; Jakub Kicinski
> ; Madalin Bucur ;
> net...@vger.kernel.org
> Cc: Leo Li ; Sean Anderson
> ; Russell King ; l
On 7/20/22 9:53 AM, Vladimir Oltean wrote:
> On Tue, Jul 19, 2022 at 03:34:45PM -0400, Sean Anderson wrote:
>> We could do it, but it'd be a pretty big hack. Something like the
>> following. Phylink would need to be modified to grab the lock before
>> every op and check if the PCS is dead or not
The definition of the pci header function pci_get_legacy_ide_irq is only
used in platforms that support PNP. So many of the architecutres where
it is defined do not use it. This also means we can remove
asm-generic/pci.h as all it provides is a definition of
pci_get_legacy_ide_irq.
Where referen